diff --git a/sys/compat/ultrix/ultrix_ioctl.c b/sys/compat/ultrix/ultrix_ioctl.c index a688bc813549..c85a1d2affea 100644 --- a/sys/compat/ultrix/ultrix_ioctl.c +++ b/sys/compat/ultrix/ultrix_ioctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: ultrix_ioctl.c,v 1.8 1997/04/06 21:33:44 jonathan Exp $ */ +/* $NetBSD: ultrix_ioctl.c,v 1.9 1997/05/05 22:21:18 jonathan Exp $ */ /* from : NetBSD: sunos_ioctl.c,v 1.21 1995/10/07 06:27:31 mycroft Exp */ /* @@ -366,13 +366,9 @@ btios2stios(bt, st) st->c_cc[4] = NATIVE_TO_EMUL_CC(bt->c_cc[VEOF]); st->c_cc[5] = NATIVE_TO_EMUL_CC(bt->c_cc[VEOL]); st->c_cc[6] = NATIVE_TO_EMUL_CC(bt->c_cc[VEOL2]); -/* - * XXX Should not be an #ifdef here (typo or not!) since - * XXX COMPAT_ULTRIX is implied if this code is being - * XXX compiled at all! Unfortunately, this code doesn't - * XXX currently compile, so leave it broken for now... - */ -#ifdef CMOPAT_ULTRIX + + /* XXX ultrix has a VSWTCH. NetBSD does not. */ +#ifdef notdef st->c_cc[7] = NATIVE_TO_EMUL_CC(bt->c_cc[VSWTCH]); #else st->c_cc[7] = 0; @@ -401,7 +397,7 @@ btios2stios(bt, st) #ifdef COMPAT_SUNOS st->c_line = 0; /* 4.3bsd "old" line discipline */ #else - st->c_line = 2; /* 4.3bsd "new" line discipline */ + st->c_line = 2; /* 4.3bsd "new" line discipline, Ultrix default. */ #endif }