diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-01-04 16:28:57 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-01-04 16:28:57 +0000 |
commit | b6c65aa86205db3c13f8a020d10b8f5abcd0e71a (patch) | |
tree | 7a8582e4615aaaa4c530e4c3678a571dcf4ee544 /torisa.c | |
parent | d6857df41f88389433acc6d223f49be9aa3fc9ba (diff) |
Version 0.4.0 from FTP
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@140 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'torisa.c')
-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++) |