summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1996-07-17 22:07:23 +0000
committerjulian <julian@FreeBSD.org>1996-07-17 22:07:23 +0000
commit88c897a67d54cb92582372ed301e56b11a861936 (patch)
tree73e58bedcdba00c1b841d900c8495874efb989da /sys/i386/isa
parent80ad4711dc34c2dc8d9a19118ec0d0c3fadbc59c (diff)
downloadFreeBSD-src-88c897a67d54cb92582372ed301e56b11a861936.zip
FreeBSD-src-88c897a67d54cb92582372ed301e56b11a861936.tar.gz
some internal modems need LOTS of time to generate an interrupt
on demand.. increase DELAY from 1000 uS to 10000uS
Diffstat (limited to 'sys/i386/isa')
-rw-r--r--sys/i386/isa/sio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c
index c7173db..cbf86b3 100644
--- a/sys/i386/isa/sio.c
+++ b/sys/i386/isa/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;
OpenPOWER on IntegriCloud