patch-2.1.81 linux/drivers/isdn/hisax/avm_a1.c
Next file: linux/drivers/isdn/hisax/elsa.c
Previous file: linux/drivers/char/videodev.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Wed Jan 21 23:42:12 1998
- Orig file:
v2.1.80/linux/drivers/isdn/hisax/avm_a1.c
- Orig date:
Mon Nov 3 09:54:38 1997
diff -u --recursive --new-file v2.1.80/linux/drivers/isdn/hisax/avm_a1.c linux/drivers/isdn/hisax/avm_a1.c
@@ -772,7 +772,7 @@
int loop = 0;
char tmp[40];
- sp->counter = kstat.interrupts[sp->irq];
+ sp->counter = kstat_irqs(sp->irq);
sprintf(tmp, "IRQ %d count %d", sp->irq, sp->counter);
debugl1(sp, tmp);
clear_pending_ints(sp);
@@ -785,16 +785,16 @@
/* At least 1-3 irqs must happen
* (one from HSCX A, one from HSCX B, 3rd from ISAC)
*/
- if (kstat.interrupts[sp->irq] > sp->counter)
+ if (kstat_irqs(sp->irq) > sp->counter)
break;
current->state = TASK_INTERRUPTIBLE;
current->timeout = jiffies + 1;
schedule();
}
sprintf(tmp, "IRQ %d count %d", sp->irq,
- kstat.interrupts[sp->irq]);
+ kstat_irqs(sp->irq));
debugl1(sp, tmp);
- if (kstat.interrupts[sp->irq] == sp->counter) {
+ if (kstat_irqs(sp->irq) == sp->counter) {
printk(KERN_WARNING
"AVM A1: IRQ(%d) getting no interrupts during init\n",
sp->irq);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov