Skip to content
Snippets Groups Projects
Commit d89a02a5 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk
Browse files

kernel/wr_nic: don't reset transceiver when link went down, it breaks LPDC calibration

parent 764d2c89
Branches
Tags
No related merge requests found
......@@ -113,9 +113,6 @@ static void wrn_update_link_status(struct net_device *dev)
if (!mii_link_ok(&ep->mii)) {
if(netif_carrier_ok(dev)) {
netif_carrier_off(dev);
/* Reset SFP */
value = wrn_phy_read(dev, 0, MII_BMCR);
wrn_phy_write(dev, 0, MII_BMCR, value | BMCR_RESET);
clear_bit(WRN_EP_UP, &ep->ep_flags);
printk(KERN_INFO "%s: Link down.\n", dev->name);
return;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment