summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixp2000
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-12-01 11:12:47 -0800
committerJeff Garzik <jgarzik@pobox.com>2005-12-03 20:29:03 -0500
commitd359b6ff6a79e250422fdfa991b36d37c286eda1 (patch)
tree715b57bf5d944081ca85a662ce5f48423084f3cb /drivers/net/ixp2000
parent0f52bf905884c6dd7f994c9e2f533b2c02f0bd4b (diff)
downloadop-kernel-dev-d359b6ff6a79e250422fdfa991b36d37c286eda1.zip
op-kernel-dev-d359b6ff6a79e250422fdfa991b36d37c286eda1.tar.gz
[PATCH] ixp2000: change netif_schedule_test to __netif_schedule_prep
Sky2 update changed name of netif_schedule_test to __netif_schedule_prep Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/ixp2000')
-rw-r--r--drivers/net/ixp2000/ixpdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixp2000/ixpdev.c b/drivers/net/ixp2000/ixpdev.c
index 52c5a1c..09f03f4 100644
--- a/drivers/net/ixp2000/ixpdev.c
+++ b/drivers/net/ixp2000/ixpdev.c
@@ -202,7 +202,7 @@ static irqreturn_t ixpdev_interrupt(int irq, void *dev_id, struct pt_regs *regs)
*/
if (status & 0x00ff) {
ixp2000_reg_wrb(IXP2000_IRQ_THD_ENABLE_CLEAR_A_0, 0x00ff);
- if (likely(netif_rx_schedule_test(nds[0]))) {
+ if (likely(__netif_rx_schedule_prep(nds[0]))) {
__netif_rx_schedule(nds[0]);
} else {
printk(KERN_CRIT "ixp2000: irq while polling!!\n");
OpenPOWER on IntegriCloud