diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-11 11:16:26 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-11 11:16:26 +0000 |
| commit | 1930e303cfa1b9fe2c50fdad0d1ba6143311a53c (patch) | |
| tree | eeeded1f490a2da21f50d2e6f81efd45f8326e90 /sys/dev | |
| parent | f89485e2b1417088084fabcc31952be90ae25378 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/cy/cy.c | 4 | ||||
| -rw-r--r-- | sys/dev/digi/digi.c | 4 | ||||
| -rw-r--r-- | sys/dev/rp/rp.c | 4 | ||||
| -rw-r--r-- | sys/dev/si/si.c | 2 | ||||
| -rw-r--r-- | sys/dev/sio/sio.c | 4 | ||||
| -rw-r--r-- | sys/dev/sx/sx.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/ucom.c | 4 |
7 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c index 9dc95b3e69ea..706532732688 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 e99e737c2554..c6b6b2c18e23 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 d77c9a11cdca..fc5241d87dc3 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 e79c1caef25b..2a3601f41061 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 a63625f500fd..740cd26b5672 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 ae50e32033ca..5588ab75d41e 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 b28a0f08dce3..82ab31b47805 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); |
