sfc: Added support for new ethtool APIs for obtaining module eeprom
authorStuart Hodgson <smhodgson@solarflare.com>
Tue, 1 May 2012 17:50:43 +0000 (18:50 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 10 May 2012 02:10:46 +0000 (03:10 +0100)
commitc087bd2cfdaf334d7d0c32bd1fcc1a23d5b88973
tree9b0edadd759f4210ad890a686880f85e31f0bc2c
parent41c3cb6d20f0252308e9796fa4f3dacb4960de91
sfc: Added support for new ethtool APIs for obtaining module eeprom

Currently allows for SFP+ eeprom to be returned using the ethtool API.
This can be extended in future to handle different eeprom formats
and sizes

Signed-off-by: Stuart Hodgson <smhodgson@solarflare.com>
[bwh: Drop redundant validation, comment, whitespace]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/ethtool.c
drivers/net/ethernet/sfc/mcdi_phy.c
drivers/net/ethernet/sfc/net_driver.h