aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/via-rhine.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r--drivers/net/via-rhine.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c
index fee824002d10..fda367b92a28 100644
--- a/drivers/net/via-rhine.c
+++ b/drivers/net/via-rhine.c
@@ -1048,6 +1048,8 @@ static void init_registers(struct net_device *dev)
1048 1048
1049 rhine_set_rx_mode(dev); 1049 rhine_set_rx_mode(dev);
1050 1050
1051 netif_poll_enable(dev);
1052
1051 /* Enable interrupts by setting the interrupt mask. */ 1053 /* Enable interrupts by setting the interrupt mask. */
1052 iowrite16(IntrRxDone | IntrRxErr | IntrRxEmpty| IntrRxOverflow | 1054 iowrite16(IntrRxDone | IntrRxErr | IntrRxEmpty| IntrRxOverflow |
1053 IntrRxDropped | IntrRxNoBuf | IntrTxAborted | 1055 IntrRxDropped | IntrRxNoBuf | IntrTxAborted |
@@ -1199,7 +1201,6 @@ static void rhine_tx_timeout(struct net_device *dev)
1199 dev->trans_start = jiffies; 1201 dev->trans_start = jiffies;
1200 rp->stats.tx_errors++; 1202 rp->stats.tx_errors++;
1201 netif_wake_queue(dev); 1203 netif_wake_queue(dev);
1202 netif_poll_enable(dev);
1203} 1204}
1204 1205
1205static int rhine_start_tx(struct sk_buff *skb, struct net_device *dev) 1206static int rhine_start_tx(struct sk_buff *skb, struct net_device *dev)