diff options
author | Bruce Evans <bde@FreeBSD.org> | 1998-03-07 15:36:29 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1998-03-07 15:36:29 +0000 |
commit | 0b8a3ff790242bcd8906561b64f78257e1a428b7 (patch) | |
tree | b9303349ce57a2a16f79dcba97ccf155bd2b801b /sys/sys/tty.h | |
parent | 16337c2efb980cca04ad1df1a95750a5961a95fc (diff) | |
download | src-0b8a3ff790242bcd8906561b64f78257e1a428b7.tar.gz src-0b8a3ff790242bcd8906561b64f78257e1a428b7.zip |
Set the input and output buffer sizes and the input buffer watermarks
dynamically depending on the line speed(s). This should give the old
sizes and watermarks until drivers are changed.
Display the input watermarks in pstat and sicontrol.
Notes
Notes:
svn path=/head/; revision=34185
Diffstat (limited to 'sys/sys/tty.h')
-rw-r--r-- | sys/sys/tty.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/sys/tty.h b/sys/sys/tty.h index bf0ec88c2e36..b7a59e85859a 100644 --- a/sys/sys/tty.h +++ b/sys/sys/tty.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)tty.h 8.6 (Berkeley) 1/21/94 - * $Id: tty.h,v 1.39 1997/09/14 02:25:41 peter Exp $ + * $Id: tty.h,v 1.40 1997/10/12 20:26:06 phk Exp $ */ #ifndef _SYS_TTY_H_ @@ -92,8 +92,13 @@ struct tty { void *t_sc; /* XXX: net/if_sl.c:sl_softc. */ int t_column; /* Tty output column. */ int t_rocount, t_rocol; /* Tty. */ - int t_hiwat; /* High water mark. */ - int t_lowat; /* Low water mark. */ + int t_ififosize; /* Total size of upstream fifos. */ + int t_ihiwat; /* High water mark for input. */ + int t_ilowat; /* Low water mark for input. */ + speed_t t_ispeedwat; /* t_ispeed override for watermarks. */ + int t_ohiwat; /* High water mark for output. */ + int t_olowat; /* Low water mark for output. */ + speed_t t_ospeedwat; /* t_ospeed override for watermarks. */ int t_gen; /* Generation number. */ }; |