diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-01-04 19:11:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-04 19:11:25 -0500 |
commit | 077f849de42e58172e25ccb24df4c1a13e82420c (patch) | |
tree | 223c2acab3292f19f21e85ecfeff8c66818b87dc /drivers/net/tg3.h | |
parent | 949b42544a20fb22800e244a004ff45bd359a21b (diff) |
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 { | |||
2762 | #define SST_25VF0X0_PAGE_SIZE 4098 | 2762 | #define SST_25VF0X0_PAGE_SIZE 4098 |
2763 | 2763 | ||
2764 | struct ethtool_coalesce coal; | 2764 | struct ethtool_coalesce coal; |
2765 | |||
2766 | /* firmware info */ | ||
2767 | const struct firmware *fw; | ||
2768 | u32 fw_len; /* includes BSS */ | ||
2765 | }; | 2769 | }; |
2766 | 2770 | ||
2767 | #endif /* !(_T3_H) */ | 2771 | #endif /* !(_T3_H) */ |