summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1993-07-15 17:53:14 +0000
committerdg <dg@FreeBSD.org>1993-07-15 17:53:14 +0000
commit25bd55627585fbce3330a173cb309cb5fd364767 (patch)
tree2d3b523153c2efb7a70dfc4a1a555e14d696e5a4 /sys/dev/sio
parent11fc15d53f760d42b22fe441368b6a2fc1b99807 (diff)
downloadFreeBSD-src-25bd55627585fbce3330a173cb309cb5fd364767.zip
FreeBSD-src-25bd55627585fbce3330a173cb309cb5fd364767.tar.gz
Modified attach printf's so that the output is compatible with the "new"
way of doing things. There still remain several drivers that need to be updated. Also added a compile-time option to pccons to switch the control and caps-lock keys (REVERSE_CAPS_CTRL) - added for my personal sanity.
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 38503fd..6d10cf5 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -40,7 +40,7 @@
* into the patch kit. Added in sioselect
* from com.c. Added port 4 support.
*/
-static char rcsid[] = "$Header: /usr/bill/working/sys/i386/isa/RCS/com.c,v 1.2 92/01/21 14:34:11 william Exp $";
+static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys.386bsd/i386/isa/sio.c,v 1.1.1.1 1993/06/12 14:57:57 rgrimes Exp $";
#include "sio.h"
#if NSIO > 0
@@ -465,6 +465,7 @@ sioattach(isdp)
outb(iobase + com_scr, 0x5a);
scr2 = inb(iobase + com_scr);
outb(iobase + com_scr, scr);
+ printf("sio%d: type", unit);
if (scr1 != 0xa5 || scr2 != 0x5a)
printf(" <8250>");
else {
@@ -487,6 +488,7 @@ sioattach(isdp)
}
outb(iobase + com_fifo, 0);
}
+ printf("\n");
#ifdef COM_MULTIPORT
if (COM_ISMULTIPORT(isdp)) {
struct isa_device *masterdev;
OpenPOWER on IntegriCloud