aboutsummaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorNithin Sujir <[email protected]>2013-03-06 17:02:32 +0000
committerDavid S. Miller <[email protected]>2013-03-07 15:31:32 -0500
commit77997ea3f4ac84e6275bc3d6051956eee54f901a (patch)
tree7bf50e19df48b49afea820c7becef6d87dcd7b22 /include/linux/errqueue.h
parentf4bffb28d66c735a11859024fa0cae60711d313e (diff)
tg3: Cleanup firmware parsing code
The current firmware header parsing is complicated due to interpreting it as a u32 array and accessing header members via array offsets. Add tg3_firmware_hdr structure to access the firmware fields instead of hardcoding offsets. The same header format will be used for individual firmware fragments in the 57766. The fw_hdr and tg3 structures have all the information required for loading the fw. Remove the redundant fw_info structure and pass fw_hdr instead. Reviewed-by: Benjamin Li <[email protected]> Signed-off-by: Nithin Nayak Sujir <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions