diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-04-10 21:02:54 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-04-10 21:02:54 +0000 |
commit | ed13832743c0706970c283ac668f417808d55a3b (patch) | |
tree | e7f3e1c7e5b26f163129e810f0e292b131dc827f /wcfxo.c | |
parent | 11f668405e83d5817c6b878a42ee4ca4eabca919 (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-x | wcfxo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |