]> err.no Git - linux-2.6/commitdiff
[PATCH] ixp2000: change netif_schedule_test to __netif_schedule_prep
authorStephen Hemminger <shemminger@osdl.org>
Thu, 1 Dec 2005 19:12:47 +0000 (11:12 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 4 Dec 2005 01:29:03 +0000 (20:29 -0500)
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>
drivers/net/ixp2000/ixpdev.c

index 52c5a1c5099c5956369605cf55d857b6fade0098..09f03f493beab1827295482f70a5138ddaeb0d81 100644 (file)
@@ -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");