diff options
author | kato <kato@FreeBSD.org> | 2000-09-13 10:14:43 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 2000-09-13 10:14:43 +0000 |
commit | 100914de6c046c3d452be447b55dc2b8ef04a26e (patch) | |
tree | b70c63a4da83e772f92c34f6e9c363932c26f0e6 /sys/pc98/cbus | |
parent | b13fc9954d067e5944fb4c5660bc39b9fea61452 (diff) | |
download | FreeBSD-src-100914de6c046c3d452be447b55dc2b8ef04a26e.zip FreeBSD-src-100914de6c046c3d452be447b55dc2b8ef04a26e.tar.gz |
Merged from sys/isa/sio.c revision 1.312.
Diffstat (limited to 'sys/pc98/cbus')
-rw-r--r-- | sys/pc98/cbus/sio.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index 07ab859..7e0c080 100644 --- a/sys/pc98/cbus/sio.c +++ b/sys/pc98/cbus/sio.c @@ -4515,10 +4515,19 @@ siogdbattach(port, speed) int s; u_char cfcr; struct siocnstate sp; + int unit = 1; /* XXX !!! */ siogdbiobase = port; gdbdefaultrate = speed; + printf("sio%d: gdb debugging port\n", unit); + siogdbunit = unit; +#if DDB > 0 + gdbdev = makedev(CDEV_MAJOR, unit); + gdb_getc = siocngetc; + gdb_putc = siocnputc; +#endif + s = spltty(); /* |