diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2004-10-27 21:21:17 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2004-10-27 21:21:17 +0000 |
commit | 8e090bce28179d99854dbc51a3e4fc7f18375d67 (patch) | |
tree | 7fb467992d96c51ca4ab7b186b622e3526a23c20 /sys/dev/pci/if_ipwreg.h | |
parent | 79b9558ec83d1c184913b4ba0dd0ea6eb497c5f4 (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.h | 8 |
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 */ |