]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcbe20eec38a1665dfdb1183e8c94b1bc726cad12
tree32feabc3da999709cb900ebe083a7105b749750e
parent10a48ddbe0aba505e27b4a6288f8247459b423bc
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