Merged from sys/isa/sio.c revision 1.312.

This commit is contained in:
KATO Takenori 2000-09-13 10:14:43 +00:00
parent a0859935f5
commit 715ca46f5c
2 changed files with 18 additions and 0 deletions

View File

@ -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();
/*

View File

@ -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();
/*