cxgb4: Add support to recognize 40G links
authorKumar Sanghvi <kumaras@chelsio.com>
Tue, 18 Feb 2014 12:26:08 +0000 (17:56 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Feb 2014 21:23:00 +0000 (16:23 -0500)
commit72aca4bfce3a39be98e40ce0b18776b9f91022f4
tree22034c9903759df0bd978a8297d28482451ef264
parent9fa9e49829fc4628ffb3c1d613f6e52bcbf59480
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>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h