summaryrefslogtreecommitdiffstats
path: root/drivers/net/acenic.h
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2009-01-04 16:09:40 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-04 16:10:02 -0800
commit949b42544a20fb22800e244a004ff45bd359a21b (patch)
treedca766b86ae1018f79276e4fd3916c2012966e89 /drivers/net/acenic.h
parent14deae41566b5cdd992c01d0069518ced5227c83 (diff)
downloadop-kernel-dev-949b42544a20fb22800e244a004ff45bd359a21b.zip
op-kernel-dev-949b42544a20fb22800e244a004ff45bd359a21b.tar.gz
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 4487f327..c987c9b 100644
--- a/drivers/net/acenic.h
+++ b/drivers/net/acenic.h
@@ -694,6 +694,10 @@ struct ace_private
u32 last_tx, last_std_rx, last_mini_rx;
#endif
int pci_using_dac;
+ u8 firmware_major;
+ u8 firmware_minor;
+ u8 firmware_fix;
+ u32 firmware_start;
};
OpenPOWER on IntegriCloud