summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-08-30 14:38:42 +0000
committerru <ru@FreeBSD.org>2006-08-30 14:38:42 +0000
commit4c70accca4d8f2bb84cda7c58cafe529f3a3c0f2 (patch)
tree0288fbf464c4893ecafb933b5eaf5354e865ea9c
parent0387eca150a6329c0ce6afe2d22e000d4d3c3025 (diff)
downloadFreeBSD-src-4c70accca4d8f2bb84cda7c58cafe529f3a3c0f2.zip
FreeBSD-src-4c70accca4d8f2bb84cda7c58cafe529f3a3c0f2.tar.gz
- Remove yet another mention of minor number construction
which is not applicable today. - Provide an example of how to lock a speed.
-rw-r--r--share/man/man4/sio.411
1 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man4/sio.4 b/share/man/man4/sio.4
index b85936f..07e076d 100644
--- a/share/man/man4/sio.4
+++ b/share/man/man4/sio.4
@@ -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,
OpenPOWER on IntegriCloud