diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
commit | 27cfca1ec98e91261b1a5355d10a8996464b63af (patch) | |
tree | 8e895a53e372fa682b4c0a585b9377d67ed70d0e /drivers/isdn/hisax/avm_a1.c | |
parent | 6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff) |
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too
o Upgrade to 2.1.89.
Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'drivers/isdn/hisax/avm_a1.c')
-rw-r--r-- | drivers/isdn/hisax/avm_a1.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/isdn/hisax/avm_a1.c b/drivers/isdn/hisax/avm_a1.c index 8b5bea45d..e6c775546 100644 --- a/drivers/isdn/hisax/avm_a1.c +++ b/drivers/isdn/hisax/avm_a1.c @@ -277,7 +277,7 @@ hscx_interrupt(struct IsdnCardState *sp, u_char val, u_char hscx) return; } else { SET_SKB_FREE(hsp->tx_skb); - dev_kfree_skb(hsp->tx_skb, FREE_WRITE); + dev_kfree_skb(hsp->tx_skb); hsp->count = 0; if (hsp->st->l4.l1writewakeup) hsp->st->l4.l1writewakeup(hsp->st); @@ -439,7 +439,7 @@ isac_interrupt(struct IsdnCardState *sp, u_char val) goto afterXPR; } else { SET_SKB_FREE(sp->tx_skb); - dev_kfree_skb(sp->tx_skb, FREE_WRITE); + dev_kfree_skb(sp->tx_skb); sp->tx_cnt = 0; sp->tx_skb = NULL; } @@ -772,7 +772,7 @@ initavm_a1(struct IsdnCardState *sp) 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 @@ initavm_a1(struct IsdnCardState *sp) /* 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); |