From 49b312bb925b10ad6fb0498308b3ebaf466e4052 Mon Sep 17 00:00:00 2001 From: jkh Date: Tue, 28 Sep 1993 00:01:18 +0000 Subject: Change to sio for recognising the last serial port on a multiport card correctly. Updated syscons to 0.2e, added features for upcoming XFree86 2.0, fixed crashbug. --- sys/dev/sio/sio.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/dev/sio') diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index a51e58c..0dbb439 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -41,7 +41,7 @@ * into the patch kit. Added in sioselect * from com.c. Added port 4 support. */ -static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys/i386/isa/sio.c,v 1.7 1993/09/08 17:38:05 rgrimes Exp $"; +static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys/i386/isa/sio.c,v 1.8 1993/09/10 16:59:16 rgrimes Exp $"; #include "sio.h" #if NSIO > 0 @@ -467,8 +467,12 @@ sioattach(isdp) scr2 = inb(iobase + com_scr); outb(iobase + com_scr, scr); printf("sio%d: type", unit); +#ifdef COM_MULTIPORT + if (0); +#else if (scr1 != 0xa5 || scr2 != 0x5a) printf(" <8250>"); +#endif else { outb(iobase + com_fifo, FIFO_ENABLE | FIFO_TRIGGER_14); DELAY(100); -- cgit v1.1