diff options
author | mjacob <mjacob@FreeBSD.org> | 1999-05-07 17:52:01 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 1999-05-07 17:52:01 +0000 |
commit | f00b96b7b75623b82d794812c0843a95d1e5a3d1 (patch) | |
tree | 5d1d753c825fc7539a16d20d1c3af483e97ff360 /sys/isa | |
parent | cd92ca3d8e32a2213658368c057d80cbadb6d651 (diff) | |
download | FreeBSD-src-f00b96b7b75623b82d794812c0843a95d1e5a3d1.zip FreeBSD-src-f00b96b7b75623b82d794812c0843a95d1e5a3d1.tar.gz |
fix it so it compiles on alpha again
Diffstat (limited to 'sys/isa')
-rw-r--r-- | sys/isa/sio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c index 5211350..c839c36 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sio.c,v 1.230 1999/05/07 06:50:27 mckusick Exp $ + * $Id: sio.c,v 1.231 1999/05/07 10:10:42 phk Exp $ * from: @(#)com.c 7.5 (Berkeley) 5/16/91 * from: i386/isa sio.c,v 1.234 */ @@ -2851,12 +2851,15 @@ siocnprobe(cp) printf("sio%d: gdb debugging port\n", unit); siogdbiobase = iobase; siogdbunit = unit; +#ifdef __i386__ gdbdev = makedev(CDEV_MAJOR, unit); gdb_getc = siocngetc; gdb_putc = siocnputc; +#endif } } } +#ifdef __i386__ /* * XXX Ugly Compatability. * If no gdb port has been specified, set it to be the console @@ -2870,6 +2873,7 @@ siocnprobe(cp) gdb_getc = siocngetc; gdb_putc = siocnputc; } +#endif } #ifdef __alpha__ |