aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cy
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-06-21 22:57:16 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-06-21 22:57:16 +0000
commitec66f15d146303c217f7e2f4802d7baba606b9d7 (patch)
treef2e674a8767cfdecab4ee0f2ac7afc0fb32c978f /sys/dev/cy
parent139233cbd6cd6400dbaadd5d167691860824d4e9 (diff)
Notes
Diffstat (limited to 'sys/dev/cy')
-rw-r--r--sys/dev/cy/cy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 53e038dad14b..50778d5aeb06 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -1539,10 +1539,12 @@ sioioctl(dev, cmd, data, flag, td)
int mynor;
int s;
struct tty *tp;
+#ifndef BURN_BRIDGES
#if defined(COMPAT_43)
int oldcmd;
struct termios term;
#endif
+#endif
mynor = minor(dev);
com = com_addr(MINOR_TO_UNIT(mynor));
@@ -1580,6 +1582,7 @@ sioioctl(dev, cmd, data, flag, td)
}
}
tp = com->tp;
+#ifndef BURN_BRIDGES
#if defined(COMPAT_43)
term = tp->t_termios;
oldcmd = cmd;
@@ -1589,6 +1592,7 @@ sioioctl(dev, cmd, data, flag, td)
if (cmd != oldcmd)
data = (caddr_t)&term;
#endif
+#endif
if (cmd == TIOCSETA || cmd == TIOCSETAW || cmd == TIOCSETAF) {
int cc;
struct termios *dt = (struct termios *)data;