diff options
author | Bruce Evans <bde@FreeBSD.org> | 2002-02-15 08:28:34 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2002-02-15 08:28:34 +0000 |
commit | 89f37afac5dc34e925e10f1a69d42b3f260a3d25 (patch) | |
tree | 9796b8934e5e87535cd2574de70924b2a0707495 /sys/dev/rp | |
parent | af33f26465692501d9794b0d6c3ca9a4367a1f56 (diff) | |
download | src-89f37afac5dc34e925e10f1a69d42b3f260a3d25.tar.gz src-89f37afac5dc34e925e10f1a69d42b3f260a3d25.zip |
Notes
Diffstat (limited to 'sys/dev/rp')
-rw-r--r-- | sys/dev/rp/rp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c index b1a488e5457f..76894fa8c043 100644 --- a/sys/dev/rp/rp.c +++ b/sys/dev/rp/rp.c @@ -36,6 +36,8 @@ * rp.c - for RocketPort FreeBSD */ +#include "opt_compat.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/fcntl.h> @@ -1243,6 +1245,10 @@ rpioctl(dev, cmd, data, flag, td) int error = 0; int arg, flags, result, ChanStatus; struct termios *t; +#if defined(COMPAT_43) || defined(COMPAT_SUNOS) + u_long oldcmd; + struct termios term; +#endif umynor = (((minor(dev) >> 16) -1) * 32); /* SG */ port = (minor(dev) & 0x1f); /* SG */ |