diff options
author | jake <jake@FreeBSD.org> | 2003-09-28 07:06:34 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-09-28 07:06:34 +0000 |
commit | f01a9a9c01d0ef4c5295aca136287c511f895494 (patch) | |
tree | 3f9beb01cc4a9b897607b6aaa2463b5a698611ed /sys/dev/uart | |
parent | 5edf19cab6586355c7fa1f74604731e5eab7ad02 (diff) | |
download | FreeBSD-src-f01a9a9c01d0ef4c5295aca136287c511f895494.zip FreeBSD-src-f01a9a9c01d0ef4c5295aca136287c511f895494.tar.gz |
Set the baud rate to 1200 if the device is a keyboard.
Diffstat (limited to 'sys/dev/uart')
-rw-r--r-- | sys/dev/uart/uart_cpu_sparc64.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_cpu_sparc64.c b/sys/dev/uart/uart_cpu_sparc64.c index b99bc71..477c173 100644 --- a/sys/dev/uart/uart_cpu_sparc64.c +++ b/sys/dev/uart/uart_cpu_sparc64.c @@ -142,7 +142,10 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di) di->bas.bsh = sparc64_fake_bustag(space, addr, di->bas.bst); /* Get the line settings. */ - di->baudrate = 9600; + if (devtype == UART_DEV_KEYBOARD) + di->baudrate = 1200; + else + di->baudrate = 9600; di->databits = 8; di->stopbits = 1; di->parity = UART_PARITY_NONE; |