summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cy/cy.c4
-rw-r--r--sys/dev/digi/digi.c4
-rw-r--r--sys/dev/rp/rp.c4
-rw-r--r--sys/dev/si/si.c2
-rw-r--r--sys/dev/sio/sio.c4
-rw-r--r--sys/dev/sx/sx.c2
-rw-r--r--sys/dev/usb/ucom.c4
7 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 9dc95b3..7065327 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -1539,7 +1539,7 @@ sioioctl(dev, cmd, data, flag, td)
int mynor;
int s;
struct tty *tp;
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
int oldcmd;
struct termios term;
#endif
@@ -1580,7 +1580,7 @@ sioioctl(dev, cmd, data, flag, td)
}
}
tp = com->tp;
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
term = tp->t_termios;
oldcmd = cmd;
error = ttsetcompat(tp, &cmd, data, &term);
diff --git a/sys/dev/digi/digi.c b/sys/dev/digi/digi.c
index e99e737..c6b6b2c 100644
--- a/sys/dev/digi/digi.c
+++ b/sys/dev/digi/digi.c
@@ -1072,7 +1072,7 @@ digiioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct thread *td)
struct digi_softc *sc;
struct digi_p *port;
struct tty *tp;
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
int oldcmd;
struct termios term;
#endif
@@ -1226,7 +1226,7 @@ digiioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct thread *td)
}
tp = port->tp;
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
term = tp->t_termios;
oldcmd = cmd;
error = ttsetcompat(tp, &cmd, data, &term);
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index d77c9a1..fc5241d 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -1236,7 +1236,7 @@ rpioctl(dev, cmd, data, flag, td)
int error = 0;
int arg, flags, result, ChanStatus;
struct termios *t;
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
u_long oldcmd;
struct termios term;
#endif
@@ -1284,7 +1284,7 @@ rpioctl(dev, cmd, data, flag, td)
tp = rp->rp_tty;
cp = &rp->rp_channel;
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
term = tp->t_termios;
oldcmd = cmd;
error = ttsetcompat(tp, &cmd, data, &term);
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index e79c1ca..2a3601f 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -47,7 +47,7 @@ static const char si_copyright1[] = "@(#) Copyright (C) Specialix International
#include <sys/param.h>
#include <sys/systm.h>
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
#include <sys/ioctl_compat.h>
#endif
#include <sys/tty.h>
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index a63625f..740cd26 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -1972,7 +1972,7 @@ sioioctl(dev, cmd, data, flag, td)
int mynor;
int s;
struct tty *tp;
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
u_long oldcmd;
struct termios term;
#endif
@@ -2015,7 +2015,7 @@ sioioctl(dev, cmd, data, flag, td)
}
}
tp = com->tp;
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
term = tp->t_termios;
oldcmd = cmd;
error = ttsetcompat(tp, &cmd, data, &term);
diff --git a/sys/dev/sx/sx.c b/sys/dev/sx/sx.c
index ae50e32..5588ab7 100644
--- a/sys/dev/sx/sx.c
+++ b/sys/dev/sx/sx.c
@@ -35,7 +35,7 @@
#include <sys/param.h>
#include <sys/systm.h>
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
#include <sys/ioctl_compat.h>
#endif
#include <sys/tty.h>
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c
index b28a0f0..82ab31b 100644
--- a/sys/dev/usb/ucom.c
+++ b/sys/dev/usb/ucom.c
@@ -539,7 +539,7 @@ ucomioctl(dev_t dev, u_long cmd, caddr_t data, int flag, usb_proc_ptr p)
int error;
int s;
int d;
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
u_long oldcmd;
struct termios term;
#endif
@@ -552,7 +552,7 @@ ucomioctl(dev_t dev, u_long cmd, caddr_t data, int flag, usb_proc_ptr p)
DPRINTF(("ucomioctl: cmd = 0x%08lx\n", cmd));
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
term = tp->t_termios;
oldcmd = cmd;
error = ttsetcompat(tp, &cmd, data, &term);
OpenPOWER on IntegriCloud