cxgb4: change the port capability bits definition
authorGanesh Goudar <ganeshgr@chelsio.com>
Wed, 23 May 2018 14:32:58 +0000 (20:02 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 20:00:56 +0000 (16:00 -0400)
commit1d19023fa6f65de636901b9b7340f2f7eebb710a
tree252e189edb5bca8f7665d95813e375206b5f4af5
parent5ee6ad201e6cba94e199da78a7fdece8881352b4
cxgb4: change the port capability bits definition

MDI Port Capabilities bit definitions were inconsistent with
regard to the MDI enum values. 2 bits used to define MDI in
the port capabilities are not really separable, it's a 2-bit
field with 4 different values. Change the port capability bit
definitions to be "AUTO" and "STRAIGHT" in order to get them
to line up with the enum's.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
drivers/scsi/csiostor/csio_hw.c