Commit 5aa80e51 authored by Hariprasad Shenai's avatar Hariprasad Shenai Committed by David S. Miller

cxgb4: Fix decoding QSA module for ethtool get settings

QSA module was getting decoded as QSFP module in ethtool get settings, this
patch fixes it.
Signed-off-by: default avatarHariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 12069401
...@@ -2376,7 +2376,7 @@ const char *t4_get_port_type_description(enum fw_port_type port_type) ...@@ -2376,7 +2376,7 @@ const char *t4_get_port_type_description(enum fw_port_type port_type)
"KR/KX", "KR/KX",
"KR/KX/KX4", "KR/KX/KX4",
"R QSFP_10G", "R QSFP_10G",
"", "R QSA",
"R QSFP", "R QSFP",
"R BP40_BA", "R BP40_BA",
}; };
......
...@@ -2470,8 +2470,8 @@ enum fw_port_type { ...@@ -2470,8 +2470,8 @@ enum fw_port_type {
FW_PORT_TYPE_BP_AP, FW_PORT_TYPE_BP_AP,
FW_PORT_TYPE_BP4_AP, FW_PORT_TYPE_BP4_AP,
FW_PORT_TYPE_QSFP_10G, FW_PORT_TYPE_QSFP_10G,
FW_PORT_TYPE_QSFP,
FW_PORT_TYPE_QSA, FW_PORT_TYPE_QSA,
FW_PORT_TYPE_QSFP,
FW_PORT_TYPE_BP40_BA, FW_PORT_TYPE_BP40_BA,
FW_PORT_TYPE_NONE = FW_PORT_CMD_PTYPE_M FW_PORT_TYPE_NONE = FW_PORT_CMD_PTYPE_M
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment