aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/en/articles/serial-uart
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2021-06-07 23:04:38 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2021-06-08 10:27:12 +0000
commitf80bbbf56d7b9f87e93e25545073b98603da9b81 (patch)
tree7ff91e7a590e1cd967a79ea4479ec2a812b8a21f /documentation/content/en/articles/serial-uart
parentac97b35aeeea83030963e3eb19c9501b7e02bf3f (diff)
Diffstat (limited to 'documentation/content/en/articles/serial-uart')
-rw-r--r--documentation/content/en/articles/serial-uart/_index.adoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/content/en/articles/serial-uart/_index.adoc b/documentation/content/en/articles/serial-uart/_index.adoc
index 084f4493d6..60ee8c73b4 100644
--- a/documentation/content/en/articles/serial-uart/_index.adoc
+++ b/documentation/content/en/articles/serial-uart/_index.adoc
@@ -897,7 +897,7 @@ device sio4 at isa? port 0x118 flags 0x1005
device sio15 at isa? port 0x170 flags 0x1005
device sio16 at isa? port 0x178 flags 0x1005 irq 3
....
-+
++
The flags entry _must_ be changed from this example unless you are using the exact same sio assignments.
Flags are set according to 0x``__MYY__`` where _M_ indicates the minor number of the master port (the last port on a Boca 16) and _YY_ indicates if FIFO is enabled or disabled(enabled), IRQ sharing is used(yes) and if there is an AST/4 compatible IRQ control register(no).
In this example,
@@ -947,7 +947,7 @@ sio15: type 16550A (multiport)
sio16 at 0x178-0x17f irq 3 flags 0x1005 on isa
sio16: type 16550A (multiport master)
....
-+
++
If the messages go by too fast to see,
+
[source,shell]
@@ -956,7 +956,7 @@ If the messages go by too fast to see,
....
will show you the boot messages.
. Next, appropriate entries in [.filename]#/dev# for the devices must be made using the [.filename]#/dev/MAKEDEV# script. This step can be omitted if you are running FreeBSD 5.X with a kernel that has man:devfs[5] support compiled in.
-+
++
If you do need to create the [.filename]#/dev# entries, run the following as `root`:
+
[source,shell]
@@ -969,7 +969,7 @@ If you do need to create the [.filename]#/dev# entries, run the following as `ro
# ./MAKEDEV ttyg
# ./MAKEDEV cuag
....
-+
++
If you do not want or need call-out devices for some reason, you can dispense with making the [.filename]#cua*# devices.
. If you want a quick and sloppy way to make sure the devices are working, you can simply plug a modem into each port and (as root)
+