diff options
author | peter <peter@FreeBSD.org> | 1996-08-03 00:21:44 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-08-03 00:21:44 +0000 |
commit | b74a92de4e4f9aa628fb1a0ad468003670cce2cc (patch) | |
tree | 40c0cba0b23bf251731d2c907cd72ad82165a936 /sys/i386/isa/si.c | |
parent | 6a63ec68e3f4386c177e5a48ab38e4202ccbba30 (diff) | |
download | FreeBSD-src-b74a92de4e4f9aa628fb1a0ad468003670cce2cc.zip FreeBSD-src-b74a92de4e4f9aa628fb1a0ad468003670cce2cc.tar.gz |
make si.c compile in kernels without COMPAT_43.
Diffstat (limited to 'sys/i386/isa/si.c')
-rw-r--r-- | sys/i386/isa/si.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/i386/isa/si.c b/sys/i386/isa/si.c index ce68cb0..a92ab4a 100644 --- a/sys/i386/isa/si.c +++ b/sys/i386/isa/si.c @@ -30,7 +30,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN * NO EVENT SHALL THE AUTHORS BE LIABLE. * - * $Id: si.c,v 1.48 1996/07/26 13:47:38 peter Exp $ + * $Id: si.c,v 1.49 1996/07/26 16:55:37 peter Exp $ */ #ifndef lint @@ -1193,7 +1193,10 @@ siioctl(dev, cmd, data, flag, p) */ switch (cmd) { case TIOCSETAW: case TIOCSETAF: - case TIOCDRAIN: case TIOCSETP: + case TIOCDRAIN: +#ifdef COMPAT_43 + case TIOCSETP: +#endif blocked++; /* block writes for ttywait() and siparam() */ si_write_enable(pp, 0); } |