aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2006-03-08 16:45:52 -0500
committerRomieu Francois <romieu@crap.fr.zoreil.com>2006-03-09 17:09:43 -0500
commit39bf4295bb4bcb0c108f74b72dd2eb5b9b9dfacc (patch)
tree732e995318072a015608d2474954c546315981ca
parent3f735b76a4e654bee652cbbeb405b9b3ef950316 (diff)
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>
-rw-r--r--drivers/net/tulip/de2104x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c
index 9e9e1fe92914..2d0cfbceee22 100644
--- a/drivers/net/tulip/de2104x.c
+++ b/drivers/net/tulip/de2104x.c
@@ -1453,6 +1453,8 @@ static void de_tx_timeout (struct net_device *dev)
1453 synchronize_irq(dev->irq); 1453 synchronize_irq(dev->irq);
1454 de_clean_rings(de); 1454 de_clean_rings(de);
1455 1455
1456 de_init_rings(de);
1457
1456 de_init_hw(de); 1458 de_init_hw(de);
1457 1459
1458 netif_wake_queue(dev); 1460 netif_wake_queue(dev);