aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/sis190.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c
index 0b22e75633a2..20f48296efcb 100644
--- a/drivers/net/sis190.c
+++ b/drivers/net/sis190.c
@@ -899,10 +899,9 @@ static void sis190_phy_task(struct work_struct *work)
899 mod_timer(&tp->timer, jiffies + HZ/10); 899 mod_timer(&tp->timer, jiffies + HZ/10);
900 } else if (!(mdio_read_latched(ioaddr, phy_id, MII_BMSR) & 900 } else if (!(mdio_read_latched(ioaddr, phy_id, MII_BMSR) &
901 BMSR_ANEGCOMPLETE)) { 901 BMSR_ANEGCOMPLETE)) {
902 net_link(tp, KERN_WARNING "%s: PHY reset until link up.\n",
903 dev->name);
904 netif_carrier_off(dev); 902 netif_carrier_off(dev);
905 mdio_write(ioaddr, phy_id, MII_BMCR, val | BMCR_RESET); 903 net_link(tp, KERN_WARNING "%s: auto-negotiating...\n",
904 dev->name);
906 mod_timer(&tp->timer, jiffies + SIS190_PHY_TIMEOUT); 905 mod_timer(&tp->timer, jiffies + SIS190_PHY_TIMEOUT);
907 } else { 906 } else {
908 /* Rejoice ! */ 907 /* Rejoice ! */