Merged from sys/isa/sio.c revision 1.312.
This commit is contained in:
parent
a0859935f5
commit
715ca46f5c
@ -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();
|
||||
|
||||
/*
|
||||
|
@ -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();
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user