From 88c897a67d54cb92582372ed301e56b11a861936 Mon Sep 17 00:00:00 2001 From: julian Date: Wed, 17 Jul 1996 22:07:23 +0000 Subject: some internal modems need LOTS of time to generate an interrupt on demand.. increase DELAY from 1000 uS to 10000uS --- sys/dev/sio/sio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/sio/sio.c') diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index c7173db..cbf86b3 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.142 1996/05/02 09:34:40 phk Exp $ + * $Id: sio.c,v 1.143 1996/06/17 14:23:39 bde Exp $ */ #include "opt_comconsole.h" @@ -670,7 +670,7 @@ sioprobe(dev) failures[0] = inb(iobase + com_cfcr) - CFCR_8BITS; failures[1] = inb(iobase + com_ier) - IER_ETXRDY; failures[2] = inb(iobase + com_mcr) - mcr_image; - DELAY(1000); /* XXX */ + DELAY(10000); /* Some internal modems need this time */ if (idev->id_irq != 0) failures[3] = isa_irq_pending(idev) ? 0 : 1; failures[4] = (inb(iobase + com_iir) & IIR_IMASK) - IIR_TXRDY; -- cgit v1.1