diff options
author | phk <phk@FreeBSD.org> | 2004-10-06 20:01:49 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-10-06 20:01:49 +0000 |
commit | ac5e347dc0c0ece8bf15c2b5371c4c5b9cc458b4 (patch) | |
tree | f86db9db0f9e9e1ff1e0cd2bf82cf6c0c4862835 /sys/dev/digi/digi.h | |
parent | e990b924ebd4cb7932fb88de612d10b3dc587d70 (diff) | |
download | FreeBSD-src-ac5e347dc0c0ece8bf15c2b5371c4c5b9cc458b4.zip FreeBSD-src-ac5e347dc0c0ece8bf15c2b5371c4c5b9cc458b4.tar.gz |
Use generic tty code instead of local copies.
Diffstat (limited to 'sys/dev/digi/digi.h')
-rw-r--r-- | sys/dev/digi/digi.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/dev/digi/digi.h b/sys/dev/digi/digi.h index a2fcb4f..fac69d2 100644 --- a/sys/dev/digi/digi.h +++ b/sys/dev/digi/digi.h @@ -72,8 +72,6 @@ struct digi_p { volatile struct board_chan *bc; struct tty *tp; - struct cdev *dev[6]; - u_char *txbuf; u_char *rxbuf; u_char txwin; @@ -85,9 +83,6 @@ struct digi_p { u_char mstat; u_char modem; /* Force values */ - int active_out; /* nonzero if the callout device is open */ - u_int wopeners; /* # processes waiting for DCD in open() */ - /* * The high level of the driver never reads status registers directly * because there would be too many side effects to handle conveniently. @@ -97,15 +92,6 @@ struct digi_p { u_char last_modem_status; /* last MSR read by intr handler */ u_char prev_modem_status; /* last MSR handled by high level */ - - /* Initial state. */ - struct termios it_in; /* should be in struct tty */ - struct termios it_out; - - /* Lock state. */ - struct termios lt_in; /* should be in struct tty */ - struct termios lt_out; - u_long bytes_in, bytes_out; u_int delta_error_counts[CE_NTYPES]; u_long error_counts; |