summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_malovar.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2007-05-26 21:16:04 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2007-05-26 21:16:04 +0000
commit9d52ba0b4b18cd602c69943ee10844e598546b07 (patch)
treeda397520a7a29fa058d9b2c4f346aaaa04e2caf0 /sys/dev/pcmcia/if_malovar.h
parentd8ba383de1febcca6d6a28b6acce50504ffecd08 (diff)
Cast offset arg of bus_space_write_multi_2 to (uint16_t *). Fix device
detach panic.
Diffstat (limited to 'sys/dev/pcmcia/if_malovar.h')
-rw-r--r--sys/dev/pcmcia/if_malovar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_malovar.h b/sys/dev/pcmcia/if_malovar.h
index 27b37fb89f0..59f18c1382b 100644
--- a/sys/dev/pcmcia/if_malovar.h
+++ b/sys/dev/pcmcia/if_malovar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_malovar.h,v 1.3 2007/05/26 11:11:54 mglocker Exp $ */
+/* $OpenBSD: if_malovar.h,v 1.4 2007/05/26 21:16:03 mglocker Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
@@ -39,7 +39,8 @@
#define MALO_CMD_BUFFER_SIZE 256 /* cmd buffer */
/* device flags */
-#define MALO_FW_LOADED (1 << 0)
+#define MALO_DEVICE_ATTACHED (1 << 0)
+#define MALO_FW_LOADED (1 << 1)
/* FW command header */
struct malo_cmd_header {