diff options
author | Arjun Vynipadath <arjun@chelsio.com> | 2017-12-12 22:34:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-13 23:49:01 +0300 |
commit | f56ec6766dcfc2d533869d5631aa2c34bb52b87b (patch) | |
tree | 65e7955f406aa285ea8e033adfd685df3a50b8c4 /drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | |
parent | 8d74e9f88d65af8bb2e095aff506aa6eac755ada (diff) | |
download | linux-f56ec6766dcfc2d533869d5631aa2c34bb52b87b.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h b/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h index 57eb4ad3485d..01f5a5ec16fa 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h +++ b/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h @@ -828,6 +828,7 @@ enum fw_ldst_addrspc { FW_LDST_ADDRSPC_MPS = 0x0020, FW_LDST_ADDRSPC_FUNC = 0x0028, FW_LDST_ADDRSPC_FUNC_PCIE = 0x0029, + FW_LDST_ADDRSPC_I2C = 0x0038, }; enum fw_ldst_mps_fid { |