cxgb4: do L1 config when module is inserted
authorGanesh Goudar <ganeshgr@chelsio.com>
Wed, 23 May 2018 14:33:33 +0000 (20:03 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 20:00:56 +0000 (16:00 -0400)
commit8156b0ba7413238e473ef567ebecd755f92275c5
tree31846181f610bb81be11e77a7fe30b6b3284822f
parent1d19023fa6f65de636901b9b7340f2f7eebb710a
cxgb4: do L1 config when module is inserted

trigger an L1 configure operation when a transceiver module
is inserted in order to cause current "sticky" options like
Requested Forward Error Correction to be reapplied.

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/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c