hinic: add support to get eeprom information
authorLuo bin <luobin9@huawei.com>
Sun, 28 Jun 2020 12:36:24 +0000 (20:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jun 2020 03:40:58 +0000 (20:40 -0700)
commit2ac84cd160a7d8562ac8ff9acca808edced4c84e
treefd7e8cdcaefc7ecbebc6614995fdfb6757ac2fa8
parent07afcc7ab40e921c90de0392c99c3d25611a94df
hinic: add support to get eeprom information

add support to get eeprom information from the plug-in module
with ethtool -m cmd.

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
drivers/net/ethernet/huawei/hinic/hinic_port.c
drivers/net/ethernet/huawei/hinic/hinic_port.h