summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
diff options
context:
space:
mode:
authorLuo bin <luobin9@huawei.com>2020-06-28 15:36:24 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-29 06:40:58 +0300
commit2ac84cd160a7d8562ac8ff9acca808edced4c84e (patch)
treefd7e8cdcaefc7ecbebc6614995fdfb6757ac2fa8 /drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
parent07afcc7ab40e921c90de0392c99c3d25611a94df (diff)
downloadlinux-2ac84cd160a7d8562ac8ff9acca808edced4c84e.tar.xz
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>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h')
-rw-r--r--drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h b/drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
index 01fe94f2d4bc..958ea1a6a60d 100644
--- a/drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
+++ b/drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
@@ -130,9 +130,13 @@ enum hinic_port_cmd {
HINIC_PORT_CMD_SET_AUTONEG = 219,
+ HINIC_PORT_CMD_GET_STD_SFP_INFO = 240,
+
HINIC_PORT_CMD_SET_LRO_TIMER = 244,
HINIC_PORT_CMD_SET_VF_MAX_MIN_RATE = 249,
+
+ HINIC_PORT_CMD_GET_SFP_ABS = 251,
};
/* cmd of mgmt CPU message for HILINK module */