Skip to content

Commit b46f7da

Browse files
Ganesh Goudardavem330
authored andcommitted
cxgb4: depend on firmware event for link status
Depend on the firmware sending us link status changes, rather than assuming that the link goes down upon L1 configuration. Signed-off-by: Casey Leedom <[email protected]> Signed-off-by: Ganesh Goudar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent bd79ace commit b46f7da

File tree

1 file changed

+0
-2
lines changed
  • drivers/net/ethernet/chelsio/cxgb4

1 file changed

+0
-2
lines changed

drivers/net/ethernet/chelsio/cxgb4/t4_hw.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4066,8 +4066,6 @@ int t4_link_l1cfg(struct adapter *adapter, unsigned int mbox,
40664066
unsigned int fw_mdi = FW_PORT_CAP32_MDI_V(FW_PORT_CAP32_MDI_AUTO);
40674067
fw_port_cap32_t fw_fc, cc_fec, fw_fec, rcap;
40684068

4069-
lc->link_ok = 0;
4070-
40714069
/* Convert driver coding of Pause Frame Flow Control settings into the
40724070
* Firmware's API.
40734071
*/

0 commit comments

Comments
 (0)