diff options
author | phk <phk@FreeBSD.org> | 2004-06-23 08:25:23 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-23 08:25:23 +0000 |
commit | 7f457c97195b2bac52d2262920cc7b3e77229fb9 (patch) | |
tree | bbfe4d16fff0dcfa3c1f17949bea94f7731f7b45 | |
parent | e3b74add6493bf7e245e07a63eda1e91bf02c7aa (diff) | |
download | FreeBSD-src-7f457c97195b2bac52d2262920cc7b3e77229fb9.zip FreeBSD-src-7f457c97195b2bac52d2262920cc7b3e77229fb9.tar.gz |
Since we grew struct xtty, t_dev doesn't have to be schizofrenic anymore.
-rw-r--r-- | sys/sys/tty.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/sys/tty.h b/sys/sys/tty.h index a51a6e4..4083919 100644 --- a/sys/sys/tty.h +++ b/sys/sys/tty.h @@ -80,11 +80,7 @@ struct tty { struct clist t_outq; /* Device output queue. */ long t_outcc; /* Output queue statistics. */ int t_line; /* Interface to device drivers. */ - union { - struct cdev *t_kdev; /* Device. */ - dev_t t_udev; /* Userland (sysctl) instance. */ - void *t_devp; /* Keep user/kernel size in sync. */ - } ttyu; + struct cdev *t_dev; /* Device. */ int t_state; /* Device and driver (TS*) state. */ int t_flags; /* Tty flags. */ int t_timeout; /* Timeout for ttywait() */ @@ -120,7 +116,6 @@ struct tty { #define t_cc t_termios.c_cc #define t_cflag t_termios.c_cflag -#define t_dev ttyu.t_kdev #define t_iflag t_termios.c_iflag #define t_ispeed t_termios.c_ispeed #define t_lflag t_termios.c_lflag |