Set the baud rate to 1200 if the device is a keyboard.

This commit is contained in:
Jake Burkholder 2003-09-28 07:06:34 +00:00
parent 278667afab
commit 2eaa495767

View File

@ -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;