Commit Graph

18 Commits

Author SHA1 Message Date
Ed Schouten
2ae1fdab5a Remove sicontrol(8)'s "ttystat".
In the FreeBSD base system, there are only two utilities that use struct
tty, namely pstat and sicontrol. The sicontrol utility calls the
TCSI_TTY ioctl(), which copies struct tty back to userspace.

sicontrol should not have this functionality. The same data is already
provided by pstat. If we really want to be able to export these numbers
through a file descriptor to userspace, we can export struct xtty, which
should provide a better abstraction. The ttystat option was only used as
a debugging aid.

This makes sicontrol compile in the mpsafetty branch.

Reviewed by:	peter
Approved by:	philip (mentor)
2008-06-09 08:43:27 +00:00
Peter Wemm
b97195edcc Add more card state dump routines. Decode more bitfields etc. 2008-06-06 03:23:34 +00:00
Peter Wemm
1e6e889a83 Remove one of my dead email addresses from a copyright message. 2008-05-31 06:03:23 +00:00
Poul-Henning Kamp
79e295e875 Get debugging macros from sivar.h
Disable some code which magics minor numbers into card/port numbers.
I think we will have to parse this from the device name in the future,
but I need to confer with peter@ about this.

Put sicontrol back in the build.

Troublespotter:	dwhite
2004-10-02 18:51:37 +00:00
Warner Losh
486c8cc4c6 Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
(with permission of addtional copyright holders where appropriate)
2004-08-07 04:28:56 +00:00
David E. O'Brien
1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Peter Wemm
e7ecd20e12 De-K&Rify sicontrol and tidy up a few loose ends. Remove "register". 2000-01-24 09:14:47 +00:00
Peter Wemm
cd382292be Use si.h in new location. 2000-01-24 08:15:42 +00:00
Nick Hibma
03026827d2 Remove the inclusion of device.h. It's no longer there. 1999-10-06 07:45:30 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Bruce Evans
0b8a3ff790 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.
1998-03-07 15:36:29 +00:00
Philippe Charnier
e015c87712 Use err(3). Add prototypes. 1997-10-15 06:43:54 +00:00
Peter Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Peter Wemm
b3c66dae6f Cosmetic fix: The usage message was wrong.. One of the commands (mstate)
was listed as taking no args, when in fact it needs a port.
1995-10-01 03:13:33 +00:00
Peter Wemm
9d33b1ab70 Recognize a new debug option.. "optim" - for watching the L_RINT bypass
and hotchar selection.
1995-08-22 00:41:05 +00:00
Peter Wemm
b0b86ca14f Add skeleton manpage, so that make world works......
Correct the naming of the thing.. it's sicontrol, not siconfig as I'm used
to..
1995-08-14 01:56:17 +00:00
Peter Wemm
e184d9c43e Bring in first cut of the user-mode control program for the Specialix driver.
Note that this is pretty light at the moment.. It's been gutted to remove
references to older features no longer in the driver.
Curses-based port monitoring is intended for the future.. :-)
Obtained from: Andy Rutter, <andy@acronym.co.uk>
1995-08-13 15:24:23 +00:00