diff options
-rwxr-xr-x | torisa.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -128,7 +128,7 @@ static int prefmaster = 0; static int spansstarted = 0; -static rwlock_t torisa; +static rwlock_t torisa = RW_LOCK_UNLOCKED; static u_char readdata[2][64][ZT_MAX_CHUNKSIZE]; static u_char writedata[2][64][ZT_MAX_CHUNKSIZE]; @@ -806,7 +806,7 @@ static void torisa_intr(int irq, void *dev_id, struct pt_regs *regs) } } - i = passno & 511; + i = passno & 127; /* if an E1 card, do rx signalling for it */ if (i < 3 && (card_type == TYPE_E1)) { /* if an E1 card */ for(j = (i * 3); j < (i * 3) + 5; j++) |