diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-01-05 03:11:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-05 03:11:25 +0300 |
commit | 077f849de42e58172e25ccb24df4c1a13e82420c (patch) | |
tree | 223c2acab3292f19f21e85ecfeff8c66818b87dc /drivers/net/tg3.h | |
parent | 949b42544a20fb22800e244a004ff45bd359a21b (diff) | |
download | linux-077f849de42e58172e25ccb24df4c1a13e82420c.tar.xz |
firmware: convert tg3 driver to request_firmware()
Firmware blob looks like this...
u8 firmware_major
u8 firmware_minor
u8 firmware_fix
u8 pad
__be32 start_address
__be32 length (total, including BSS sections to be zeroed)
data... (in __be32 words, which is native for the firmware)
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 8936edfb0438..ae5da603c6af 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h @@ -2762,6 +2762,10 @@ struct tg3 { #define SST_25VF0X0_PAGE_SIZE 4098 struct ethtool_coalesce coal; + + /* firmware info */ + const struct firmware *fw; + u32 fw_len; /* includes BSS */ }; #endif /* !(_T3_H) */ |