Loading drivers/staging/et131x/et131x.c +81 −79 Original line number Diff line number Diff line Loading @@ -3754,7 +3754,11 @@ static void et131x_adjust_link(struct net_device *netdev) struct et131x_adapter *adapter = netdev_priv(netdev); struct phy_device *phydev = adapter->phydev; if (phydev && phydev->link != adapter->link) { if (!phydev) return; if (phydev->link == adapter->link) return; /* Check to see if we are in coma mode and if * so, disable it because we will not be able * to read PHY values until we are out. Loading Loading @@ -3844,8 +3848,6 @@ static void et131x_adjust_link(struct net_device *netdev) et131x_disable_txrx(netdev); et131x_enable_txrx(netdev); } } } static int et131x_mii_probe(struct net_device *netdev) Loading Loading
drivers/staging/et131x/et131x.c +81 −79 Original line number Diff line number Diff line Loading @@ -3754,7 +3754,11 @@ static void et131x_adjust_link(struct net_device *netdev) struct et131x_adapter *adapter = netdev_priv(netdev); struct phy_device *phydev = adapter->phydev; if (phydev && phydev->link != adapter->link) { if (!phydev) return; if (phydev->link == adapter->link) return; /* Check to see if we are in coma mode and if * so, disable it because we will not be able * to read PHY values until we are out. Loading Loading @@ -3844,8 +3848,6 @@ static void et131x_adjust_link(struct net_device *netdev) et131x_disable_txrx(netdev); et131x_enable_txrx(netdev); } } } static int et131x_mii_probe(struct net_device *netdev) Loading