diff options
Diffstat (limited to 'sys/dev/sx/sx.c')
-rw-r--r-- | sys/dev/sx/sx.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/sx/sx.c b/sys/dev/sx/sx.c index 0e0687e..8a523fa 100644 --- a/sys/dev/sx/sx.c +++ b/sys/dev/sx/sx.c @@ -35,9 +35,11 @@ #include <sys/param.h> #include <sys/systm.h> +#ifndef BURN_BRIDGES #if defined(COMPAT_43) #include <sys/ioctl_compat.h> #endif +#endif #include <sys/tty.h> #include <sys/proc.h> #include <sys/conf.h> @@ -703,11 +705,13 @@ sxioctl( int mynor = minor(dev); int oldspl; int blocked = 0; +#ifndef BURN_BRIDGES #if defined(COMPAT_43) u_long oldcmd; struct termios term; #endif +#endif pp = MINOR2PP(mynor); tp = pp->sp_tty; @@ -752,6 +756,7 @@ sxioctl( /* * Do the old-style ioctl compat routines... */ +#ifndef BURN_BRIDGES #if defined(COMPAT_43) term = tp->t_termios; oldcmd = cmd; @@ -761,6 +766,7 @@ sxioctl( if (cmd != oldcmd) data = (caddr_t)&term; #endif +#endif /* * Do the initial / lock state business */ @@ -796,9 +802,11 @@ sxioctl( case TIOCSETAW: case TIOCSETAF: case TIOCDRAIN: +#ifndef BURN_BRIDGES #ifdef COMPAT_43 case TIOCSETP: #endif +#endif blocked++; /* block writes for ttywait() and sxparam() */ sx_write_enable(pp, 0); } |