]> err.no Git - linux-2.6/commitdiff
PCMCIA-NETDEV : the 2nd argument of el3_interrrupt and smc_interrupt is struct net_de...
authorKomuro <komurojun-mbn@nifty.com>
Sat, 10 Feb 2007 02:57:35 +0000 (11:57 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 17 Feb 2007 20:16:08 +0000 (15:16 -0500)
Signed-off-by: Komuro <komurojun-mbn@nifty.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pcmcia/3c574_cs.c
drivers/net/pcmcia/smc91c92_cs.c

index 448bf4a780163751bc154d543b7289e1d50dcf67..c7bd9c1c7f31a0aeed77ff659ee2c6d81151e736 100644 (file)
@@ -915,7 +915,7 @@ static void media_check(unsigned long arg)
        if ((inw(ioaddr + EL3_STATUS) & IntLatch) && (inb(ioaddr + Timer) == 0xff)) {
                if (!lp->fast_poll)
                        printk(KERN_INFO "%s: interrupt(s) dropped!\n", dev->name);
-               el3_interrupt(dev->irq, lp);
+               el3_interrupt(dev->irq, dev);
                lp->fast_poll = HZ;
        }
        if (lp->fast_poll) {
index 530df8883fe5a207a7d6465604ad11ce7327e1b5..2561f76033eab60ec944dd04f06a8d22f2d3b7d7 100644 (file)
@@ -1927,7 +1927,7 @@ static void media_check(u_long arg)
     if (smc->watchdog++ && ((i>>8) & i)) {
        if (!smc->fast_poll)
            printk(KERN_INFO "%s: interrupt(s) dropped!\n", dev->name);
-       smc_interrupt(dev->irq, smc);
+       smc_interrupt(dev->irq, dev);
        smc->fast_poll = HZ;
     }
     if (smc->fast_poll) {