diff options
author | Kumar Sanghvi <kumaras@chelsio.com> | 2014-02-18 17:56:08 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-18 16:23:00 -0500 |
commit | 72aca4bfce3a39be98e40ce0b18776b9f91022f4 (patch) | |
tree | 22034c9903759df0bd978a8297d28482451ef264 /drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | |
parent | 9fa9e49829fc4628ffb3c1d613f6e52bcbf59480 (diff) | |
download | lwn-72aca4bfce3a39be98e40ce0b18776b9f91022f4.tar.gz lwn-72aca4bfce3a39be98e40ce0b18776b9f91022f4.zip |
cxgb4: Add support to recognize 40G links
Also, create a new Common Code interface to translate Firmware Port Technology
Type values (enum fw_port_type) to string descriptions. This will allow us
to maintain the description translation table in one place rather than in
every driver.
Based on original work by Scott Bardone and Casey Leedom <leedom@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h b/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h index 74fea74ce0aa..af6e12480e51 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h +++ b/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h @@ -1742,6 +1742,9 @@ enum fw_port_type { FW_PORT_TYPE_SFP, FW_PORT_TYPE_BP_AP, FW_PORT_TYPE_BP4_AP, + FW_PORT_TYPE_QSFP_10G, + FW_PORT_TYPE_QSFP, + FW_PORT_TYPE_BP40_BA, FW_PORT_TYPE_NONE = FW_PORT_CMD_PTYPE_MASK }; |