aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/acenic.h
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2009-01-04 19:09:40 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-04 19:10:02 -0500
commit949b42544a20fb22800e244a004ff45bd359a21b (patch)
treedca766b86ae1018f79276e4fd3916c2012966e89 /drivers/net/acenic.h
parent14deae41566b5cdd992c01d0069518ced5227c83 (diff)
firmware: convert acenic driver to request_firmware()
We store the firmware in its native big-endian form now, so the loop in ace_copy() is modified to use be32_to_cpup() when writing it out. We can forget the BSS,SBSS sections of the firmware, since we were clearing all the device's RAM anyway. And the text,rodata,data sections can all be loaded as a single chunk since they're contiguous (give or take a few dozen bytes in between). Signed-off-by: Jaswinder Singh <jaswinder@infradead.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org> Acked-by: Jes Sorensen <jes@sgi.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/acenic.h')
-rw-r--r--drivers/net/acenic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/acenic.h b/drivers/net/acenic.h
index 4487f32759a4..c987c9b5a137 100644
--- a/drivers/net/acenic.h
+++ b/drivers/net/acenic.h
@@ -694,6 +694,10 @@ struct ace_private
694 u32 last_tx, last_std_rx, last_mini_rx; 694 u32 last_tx, last_std_rx, last_mini_rx;
695#endif 695#endif
696 int pci_using_dac; 696 int pci_using_dac;
697 u8 firmware_major;
698 u8 firmware_minor;
699 u8 firmware_fix;
700 u32 firmware_start;
697}; 701};
698 702
699 703