From: Francois Romieu Date: Wed, 8 Mar 2006 21:45:52 +0000 (+0100) Subject: de2104x: fix the TX watchdog X-Git-Tag: v2.6.16-rc6~6^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39bf4295bb4bcb0c108f74b72dd2eb5b9b9dfacc;p=linux-2.6 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 --- diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c index 9e9e1fe929..2d0cfbceee 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) synchronize_irq(dev->irq); de_clean_rings(de); + de_init_rings(de); + de_init_hw(de); netif_wake_queue(dev);