summaryrefslogtreecommitdiff
path: root/wcfxo.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-04-10 21:02:54 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-04-10 21:02:54 +0000
commited13832743c0706970c283ac668f417808d55a3b (patch)
treee7f3e1c7e5b26f163129e810f0e292b131dc827f /wcfxo.c
parent11f668405e83d5817c6b878a42ee4ca4eabca919 (diff)
Increase time for ALARM
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@166 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wcfxo.c')
-rwxr-xr-xwcfxo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wcfxo.c b/wcfxo.c
index 4e946e5..17c3621 100755
--- a/wcfxo.c
+++ b/wcfxo.c
@@ -442,7 +442,7 @@ static void wcfxo_interrupt(int irq, void *dev_id, struct pt_regs *regs)
wc->battdebounce = BATT_DEBOUNCE;
} else if (!wc->battery)
wc->battdebounce = BATT_DEBOUNCE;
- if ((wc->nobatttimer > 1000) &&
+ if ((wc->nobatttimer > 5000) &&
#ifdef ZERO_BATT_RING
!(wc->readregs[0x05] & 0x04) &&
#endif
@@ -671,7 +671,7 @@ static void wcfxo_restart_dma(struct wcfxo *wc)
outb(0x0f, wc->ioaddr + WC_CNTL);
/* Can't really wait, so simulate a wait */
for (x=0;x<100;x++)
- inb(wc->ioaddr + WC_CNTL);
+ inb( wc->ioaddr + WC_CNTL);
outb(0x01, wc->ioaddr + WC_CNTL);
outb(0x01, wc->ioaddr + WC_OPER);
}