PCMCIA-NETDEV : the 2nd argument of el3_interrrupt and smc_interrupt is struct net_device*
Signed-off-by: Komuro <komurojun-mbn@nifty.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
76884679c6
commit
e363d138ed
|
@ -915,7 +915,7 @@ static void media_check(unsigned long arg)
|
||||||
if ((inw(ioaddr + EL3_STATUS) & IntLatch) && (inb(ioaddr + Timer) == 0xff)) {
|
if ((inw(ioaddr + EL3_STATUS) & IntLatch) && (inb(ioaddr + Timer) == 0xff)) {
|
||||||
if (!lp->fast_poll)
|
if (!lp->fast_poll)
|
||||||
printk(KERN_INFO "%s: interrupt(s) dropped!\n", dev->name);
|
printk(KERN_INFO "%s: interrupt(s) dropped!\n", dev->name);
|
||||||
el3_interrupt(dev->irq, lp);
|
el3_interrupt(dev->irq, dev);
|
||||||
lp->fast_poll = HZ;
|
lp->fast_poll = HZ;
|
||||||
}
|
}
|
||||||
if (lp->fast_poll) {
|
if (lp->fast_poll) {
|
||||||
|
|
|
@ -1927,7 +1927,7 @@ static void media_check(u_long arg)
|
||||||
if (smc->watchdog++ && ((i>>8) & i)) {
|
if (smc->watchdog++ && ((i>>8) & i)) {
|
||||||
if (!smc->fast_poll)
|
if (!smc->fast_poll)
|
||||||
printk(KERN_INFO "%s: interrupt(s) dropped!\n", dev->name);
|
printk(KERN_INFO "%s: interrupt(s) dropped!\n", dev->name);
|
||||||
smc_interrupt(dev->irq, smc);
|
smc_interrupt(dev->irq, dev);
|
||||||
smc->fast_poll = HZ;
|
smc->fast_poll = HZ;
|
||||||
}
|
}
|
||||||
if (smc->fast_poll) {
|
if (smc->fast_poll) {
|
||||||
|
|
Loading…
Reference in New Issue