* [PATCH] via-rhine: NAPI poll enable
@ 2006-07-26 18:51 Stephen Hemminger
0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2006-07-26 18:51 UTC (permalink / raw)
To: akpm; +Cc: netdev
The poll_enable should be in init_registers before enabling interrupts,
not in tx_timeout. Thanks for spotting it Roger.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
--- sky2.orig/drivers/net/via-rhine.c 2006-07-25 13:43:19.000000000 -0700
+++ sky2/drivers/net/via-rhine.c 2006-07-25 13:43:10.000000000 -0700
@@ -1048,6 +1048,8 @@
rhine_set_rx_mode(dev);
+ netif_poll_enable(dev);
+
/* Enable interrupts by setting the interrupt mask. */
iowrite16(IntrRxDone | IntrRxErr | IntrRxEmpty| IntrRxOverflow |
IntrRxDropped | IntrRxNoBuf | IntrTxAborted |
@@ -1199,7 +1201,6 @@
dev->trans_start = jiffies;
rp->stats.tx_errors++;
netif_wake_queue(dev);
- netif_poll_enable(dev);
}
static int rhine_start_tx(struct sk_buff *skb, struct net_device *dev)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-07-26 18:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-26 18:51 [PATCH] via-rhine: NAPI poll enable Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).