- Remove yet another mention of minor number construction

which is not applicable today.

- Provide an example of how to lock a speed.
This commit is contained in:
ru 2006-08-30 14:38:42 +00:00
parent 0387eca150
commit 4c70accca4

View File

@ -36,7 +36,7 @@
.\" from: com.4,v 1.1 1993/08/06 11:19:07 cgd Exp
.\" $FreeBSD$
.\"
.Dd October 17, 2004
.Dd August 30, 2006
.Dt SIO 4
.Os
.Sh NAME
@ -292,10 +292,6 @@ The
.Nm
driver also supports an initial-state and a lock-state control
device for each of the callin and the callout "data" devices.
The minor number of the initial-state device is 32 higher
than that of the corresponding data device.
The minor number of the lock-state device is 64 higher
than that of the corresponding data device.
The termios settings of a data device are copied
from those of the corresponding initial-state device
on first opens and are not inherited from previous opens.
@ -312,6 +308,11 @@ on the lock-state device.
Speeds and special characters
may be locked by setting the corresponding value in the lock-state
device to any nonzero value.
E.g., to lock a speed to 115200, use
.Dq Li stty 115200
on the initial-state device and
.Dq Li stty 1
on the lock-state device.
.Pp
Correct programs talking to correctly wired external devices
work with almost arbitrary initial states and almost no locking,