diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2006-03-08 22:45:52 +0100 |
---|---|---|
committer | Romieu Francois <romieu@crap.fr.zoreil.com> | 2006-03-09 23:09:43 +0100 |
commit | 39bf4295bb4bcb0c108f74b72dd2eb5b9b9dfacc (patch) | |
tree | 732e995318072a015608d2474954c546315981ca | |
parent | 3f735b76a4e654bee652cbbeb405b9b3ef950316 (diff) | |
download | op-kernel-dev-39bf4295bb4bcb0c108f74b72dd2eb5b9b9dfacc.zip op-kernel-dev-39bf4295bb4bcb0c108f74b72dd2eb5b9b9dfacc.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c index 9e9e1fe..2d0cfbc 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); |