summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ipwreg.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2004-10-27 21:21:17 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2004-10-27 21:21:17 +0000
commit8e090bce28179d99854dbc51a3e4fc7f18375d67 (patch)
tree7fb467992d96c51ca4ab7b186b622e3526a23c20 /sys/dev/pci/if_ipwreg.h
parent79b9558ec83d1c184913b4ba0dd0ea6eb497c5f4 (diff)
Cache firmware into kernel memory instead of sending it directly. The
firmware is now sent only when the interface is turned up. This paves the way for proper suspend/resume support.
Diffstat (limited to 'sys/dev/pci/if_ipwreg.h')
-rw-r--r--sys/dev/pci/if_ipwreg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_ipwreg.h b/sys/dev/pci/if_ipwreg.h
index 7d82b2c3926..7ed3149e5f2 100644
--- a/sys/dev/pci/if_ipwreg.h
+++ b/sys/dev/pci/if_ipwreg.h
@@ -1,4 +1,4 @@
-/* $Id: if_ipwreg.h,v 1.4 2004/10/27 21:19:43 damien Exp $ */
+/* $Id: if_ipwreg.h,v 1.5 2004/10/27 21:21:16 damien Exp $ */
/*-
* Copyright (c) 2004
@@ -113,10 +113,10 @@
#define IPW_RATE_DS11 8
/* firmware binary image header */
-struct ipw_fw_hdr {
+struct ipw_firmware_hdr {
u_int32_t version;
- u_int32_t fw_size; /* firmware size */
- u_int32_t uc_size; /* microcode size */
+ u_int32_t main_size; /* firmware size */
+ u_int32_t ucode_size; /* microcode size */
} __attribute__((__packed__));
/* buffer descriptor */