cxgb4: Add support for ethtool i2c dump
authorArjun Vynipadath <arjun@chelsio.com>
Tue, 12 Dec 2017 19:34:05 +0000 (01:04 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 20:49:01 +0000 (15:49 -0500)
commitf56ec6766dcfc2d533869d5631aa2c34bb52b87b
tree65e7955f406aa285ea8e033adfd685df3a50b8c4
parent8d74e9f88d65af8bb2e095aff506aa6eac755ada
cxgb4: Add support for ethtool i2c dump

Adds support for ethtool get_module_info() and get_module_eeprom()
callbacks that will dump necessary information for a SFP.

Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.h
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h