summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2001-09-29 04:49:11 +0000
committerjlemon <jlemon@FreeBSD.org>2001-09-29 04:49:11 +0000
commitbde026bcbb850560619a862fc33a8d82d827ca48 (patch)
treee7fde7f1a8f66d63a73711d45395e65c06d7fa31
parent3164f24b5544749a98ad715c69b320a68f5e5316 (diff)
downloadFreeBSD-src-bde026bcbb850560619a862fc33a8d82d827ca48.zip
FreeBSD-src-bde026bcbb850560619a862fc33a8d82d827ca48.tar.gz
Add support for 28800 baud to sio.
PR: 30906 Submitted by: "Daniel O'Connor" <darius@chowder.dons.net.au>
-rw-r--r--gnu/libexec/uucp/libunix/serial.c1
-rw-r--r--share/man/man4/sio.42
-rw-r--r--sys/dev/sio/sio.c1
-rw-r--r--sys/isa/sio.c1
4 files changed, 4 insertions, 1 deletions
diff --git a/gnu/libexec/uucp/libunix/serial.c b/gnu/libexec/uucp/libunix/serial.c
index 0c2a5b3..4b84727 100644
--- a/gnu/libexec/uucp/libunix/serial.c
+++ b/gnu/libexec/uucp/libunix/serial.c
@@ -898,6 +898,7 @@ static struct sbaud_table
{ B2400, 2400 },
{ B4800, 4800 },
{ B9600, 9600 },
+ { B28800, 28800 },
#ifdef B19200
{ B19200, 19200 },
#else /* ! defined (B19200) */
diff --git a/share/man/man4/sio.4 b/share/man/man4/sio.4
index 672cef9..b6109d5 100644
--- a/share/man/man4/sio.4
+++ b/share/man/man4/sio.4
@@ -119,7 +119,7 @@ buffers, the NS16550A has 16 character FIFO input and output buffers.
.Pp
Input and output for each line may set to one of following baud rates;
50, 75, 110, 134.5, 150, 300, 600, 1200, 1800, 2400, 4800, 9600,
-19200, 38400, 57600, or 115200. Your hardware may limit your baud
+19200, 28800, 38400, 57600, or 115200. Your hardware may limit your baud
rate choices.
.Pp
The driver supports `multiport' cards.
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index a1c8495..badf07d 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -429,6 +429,7 @@ static struct speedtab comspeedtab[] = {
{ 4800, COMBRD(4800) },
{ 9600, COMBRD(9600) },
{ 19200, COMBRD(19200) },
+ { 28800, COMBRD(28800) },
{ 38400, COMBRD(38400) },
{ 57600, COMBRD(57600) },
{ 115200, COMBRD(115200) },
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index a1c8495..badf07d 100644
--- a/sys/isa/sio.c
+++ b/sys/isa/sio.c
@@ -429,6 +429,7 @@ static struct speedtab comspeedtab[] = {
{ 4800, COMBRD(4800) },
{ 9600, COMBRD(9600) },
{ 19200, COMBRD(19200) },
+ { 28800, COMBRD(28800) },
{ 38400, COMBRD(38400) },
{ 57600, COMBRD(57600) },
{ 115200, COMBRD(115200) },
OpenPOWER on IntegriCloud