diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-09-29 03:20:47 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-09-29 03:20:47 +0000 |
commit | 085ff3e9b5b403606ed2d3b149c9f994b72732e9 (patch) | |
tree | 7707edfd1a4f53ab7e199cd6bf4e4029df6d2a85 | |
parent | 434fe557ee321a13e9998d65e8d7de31caf58ced (diff) |
Enable pckbd support and use symbolic #defines for ctb_term_type
instead of hard-coding values. art@ OK
-rw-r--r-- | sys/arch/alpha/alpha/dec_550.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/alpha/alpha/dec_550.c b/sys/arch/alpha/alpha/dec_550.c index 4dd5c08531c..0835419e16b 100644 --- a/sys/arch/alpha/alpha/dec_550.c +++ b/sys/arch/alpha/alpha/dec_550.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dec_550.c,v 1.4 2000/11/16 23:32:20 ericj Exp $ */ +/* $OpenBSD: dec_550.c,v 1.5 2001/09/29 03:20:46 millert Exp $ */ /* $NetBSD: dec_550.c,v 1.10 2000/06/20 03:48:53 matt Exp $ */ /* @@ -64,9 +64,7 @@ /* Write this to Pyxis General Purpose Output to turn off the power. */ #define DEC_550_PYXIS_GPO_POWERDOWN 0x00000400 -#ifdef notyet #include "pckbd.h" -#endif #ifndef CONSPEED #define CONSPEED TTYDEF_SPEED @@ -110,7 +108,7 @@ dec_550_cons_init() ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off); switch (ctb->ctb_term_type) { - case 2: + case CTB_PRINTERPORT: /* serial console ... */ /* XXX */ { @@ -129,7 +127,7 @@ dec_550_cons_init() break; } - case 3: + case CTB_GRAPHICS: #if NPCKBD > 0 /* display console ... */ /* XXX */ |