From ed13832743c0706970c283ac668f417808d55a3b Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 10 Apr 2003 21:02:54 +0000 Subject: Increase time for ALARM git-svn-id: http://svn.digium.com/svn/zaptel/trunk@166 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wcfxo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wcfxo.c') 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); } -- cgit v1.2.3