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>
This commit is contained in:

committed by
David S. Miller

parent
949b42544a
commit
077f849de4
@@ -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) */
|
||||
|
Reference in New Issue
Block a user