summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sicontrol
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-03-07 15:36:29 +0000
committerbde <bde@FreeBSD.org>1998-03-07 15:36:29 +0000
commitab37e4723bce19187dad7e0b6f58bb0940032588 (patch)
treee9d95fa1b9dd666ce7c0730bf4977e8f3c166395 /usr.sbin/sicontrol
parent5bf363454e7e3df02636b0ab1023fafd9fb38236 (diff)
downloadFreeBSD-src-ab37e4723bce19187dad7e0b6f58bb0940032588.zip
FreeBSD-src-ab37e4723bce19187dad7e0b6f58bb0940032588.tar.gz
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.
Diffstat (limited to 'usr.sbin/sicontrol')
-rw-r--r--usr.sbin/sicontrol/sicontrol.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/sicontrol/sicontrol.c b/usr.sbin/sicontrol/sicontrol.c
index eb93819..cda0346 100644
--- a/usr.sbin/sicontrol/sicontrol.c
+++ b/usr.sbin/sicontrol/sicontrol.c
@@ -33,7 +33,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: sicontrol.c,v 1.7 1997/10/15 06:43:54 charnier Exp $";
#endif /* not lint */
#include <ctype.h>
@@ -488,8 +488,10 @@ char **av;
printf("\tt_dev 0x%x\n", TTY.t_dev); /* dev_t t_dev */
printf("\tt_flags 0x%x\n", TTY.t_flags); /* int t_flags */
printf("\tt_state 0x%x\n", TTY.t_state); /* int t_state */
- printf("\tt_hiwat %d.\n", TTY.t_hiwat); /* short t_hiwat */
- printf("\tt_lowat %d.\n", TTY.t_lowat); /* short t_lowat */
+ printf("\tt_ihiwat %d.\n", TTY.t_ihiwat); /* int t_ihiwat */
+ printf("\tt_ilowat %d.\n", TTY.t_ilowat); /* int t_ilowat */
+ printf("\tt_ohiwat %d.\n", TTY.t_ohiwat); /* int t_ohiwat */
+ printf("\tt_olowat %d.\n", TTY.t_olowat); /* int t_olowat */
printf("\tt_iflag 0x%x\n", TTY.t_iflag); /* t_iflag */
printf("\tt_oflag 0x%x\n", TTY.t_oflag); /* t_oflag */
printf("\tt_cflag 0x%x\n", TTY.t_cflag); /* t_cflag */
OpenPOWER on IntegriCloud