Browse Source

de2104x: fix the TX watchdog

Insert de_init_rings() to reinit the rings before de_init_hw()
tries to access them again.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Francois Romieu 19 years ago
parent
commit
39bf4295bb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/net/tulip/de2104x.c

+ 2 - 0
drivers/net/tulip/de2104x.c

@@ -1453,6 +1453,8 @@ static void de_tx_timeout (struct net_device *dev)
 	synchronize_irq(dev->irq);
 	de_clean_rings(de);
 
+	de_init_rings(de);
+
 	de_init_hw(de);
 	
 	netif_wake_queue(dev);