summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iwireg.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2004-11-22 21:34:36 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2004-11-22 21:34:36 +0000
commit466feeb938cd785f22b5a3a077f7633ec4d6b90b (patch)
tree1bd069876aeb3e67c77324675e1287857da37b57 /sys/dev/pci/if_iwireg.h
parent99e1be9d16fa4376571f3ec87304b4b1da516f7d (diff)
use the filesystem based firmware loader; ok deraadt@
Diffstat (limited to 'sys/dev/pci/if_iwireg.h')
-rw-r--r--sys/dev/pci/if_iwireg.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/pci/if_iwireg.h b/sys/dev/pci/if_iwireg.h
index 75f7e6fbfbe..a7bddd214e1 100644
--- a/sys/dev/pci/if_iwireg.h
+++ b/sys/dev/pci/if_iwireg.h
@@ -1,4 +1,4 @@
-/* $Id: if_iwireg.h,v 1.2 2004/11/22 19:20:28 damien Exp $ */
+/* $Id: if_iwireg.h,v 1.3 2004/11/22 21:34:35 damien Exp $ */
/*-
* Copyright (c) 2004
@@ -107,6 +107,12 @@
#define IWI_RATE_OFDM48 1
#define IWI_RATE_OFDM54 3
+/* firmware binary image header */
+struct iwi_firmware_hdr {
+ u_int32_t version;
+ u_int32_t mode;
+} __attribute__((__packed__));
+
struct iwi_hdr {
u_int8_t type;
#define IWI_HDR_TYPE_DATA 0