diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2014-12-17 07:06:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-18 12:39:16 -0500 |
commit | 5aa80e5144fa88cd9becea294e127e28fdf3824c (patch) | |
tree | f48e739350e8e350b37de3abf23cb23df871b237 /drivers/net | |
parent | 12069401d895ff84076a50189ca842c0696b84b2 (diff) |
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: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c index 28d04153f999..c132d9030729 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c +++ b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | |||
@@ -2376,7 +2376,7 @@ const char *t4_get_port_type_description(enum fw_port_type port_type) | |||
2376 | "KR/KX", | 2376 | "KR/KX", |
2377 | "KR/KX/KX4", | 2377 | "KR/KX/KX4", |
2378 | "R QSFP_10G", | 2378 | "R QSFP_10G", |
2379 | "", | 2379 | "R QSA", |
2380 | "R QSFP", | 2380 | "R QSFP", |
2381 | "R BP40_BA", | 2381 | "R BP40_BA", |
2382 | }; | 2382 | }; |
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h b/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h index 291b6f219708..7c0aec85137a 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h +++ b/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | |||
@@ -2470,8 +2470,8 @@ enum fw_port_type { | |||
2470 | FW_PORT_TYPE_BP_AP, | 2470 | FW_PORT_TYPE_BP_AP, |
2471 | FW_PORT_TYPE_BP4_AP, | 2471 | FW_PORT_TYPE_BP4_AP, |
2472 | FW_PORT_TYPE_QSFP_10G, | 2472 | FW_PORT_TYPE_QSFP_10G, |
2473 | FW_PORT_TYPE_QSFP, | ||
2474 | FW_PORT_TYPE_QSA, | 2473 | FW_PORT_TYPE_QSA, |
2474 | FW_PORT_TYPE_QSFP, | ||
2475 | FW_PORT_TYPE_BP40_BA, | 2475 | FW_PORT_TYPE_BP40_BA, |
2476 | 2476 | ||
2477 | FW_PORT_TYPE_NONE = FW_PORT_CMD_PTYPE_M | 2477 | FW_PORT_TYPE_NONE = FW_PORT_CMD_PTYPE_M |