cxgb4: avoid disabling FEC by default
authorGanesh Goudar <ganeshgr@chelsio.com>
Sat, 6 May 2017 08:55:06 +0000 (14:25 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 May 2017 19:00:57 +0000 (15:00 -0400)
commit3bb4858fda1cac2ae677edb5134932af4c7f8ff8
tree32feabc3da999709cb900ebe083a7105b749750e
parent8ce7aaaa9797f944ad2f50e5160c8a20a473aedf
cxgb4: avoid disabling FEC by default

Recent Chelsio firmware started using few port capablity bits to
manage FEC and as driver was not aware of FEC changes those bits
were zeroed, consequently disabling FEC.

Avoid zeroing those bits and default to whatever the firmware
tells us the Link is currently advertising.

Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h