Commit 89eb9835 authored by Ganesh Goudar's avatar Ganesh Goudar Committed by David S. Miller

cxgb4: Add port description for new cards.

Add port description for 25G and 100G cards, and also
change few port descriptions in compliance with the new
naming convention.
Signed-off-by: default avatarGanesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5e78f7fd
...@@ -5439,22 +5439,28 @@ unsigned int t4_get_mps_bg_map(struct adapter *adap, int idx) ...@@ -5439,22 +5439,28 @@ unsigned int t4_get_mps_bg_map(struct adapter *adap, int idx)
const char *t4_get_port_type_description(enum fw_port_type port_type) const char *t4_get_port_type_description(enum fw_port_type port_type)
{ {
static const char *const port_type_description[] = { static const char *const port_type_description[] = {
"R XFI", "Fiber_XFI",
"R XAUI", "Fiber_XAUI",
"T SGMII", "BT_SGMII",
"T XFI", "BT_XFI",
"T XAUI", "BT_XAUI",
"KX4", "KX4",
"CX4", "CX4",
"KX", "KX",
"KR", "KR",
"R SFP+", "SFP",
"KR/KX", "BP_AP",
"KR/KX/KX4", "BP4_AP",
"R QSFP_10G", "QSFP_10G",
"R QSA", "QSA",
"R QSFP", "QSFP",
"R BP40_BA", "BP40_BA",
"KR4_100G",
"CR4_QSFP",
"CR_QSFP",
"CR2_QSFP",
"SFP28",
"KR_SFP28",
}; };
if (port_type < ARRAY_SIZE(port_type_description)) if (port_type < ARRAY_SIZE(port_type_description))
......
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