mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
parisc: Fix serial console for machines with serial port on superio chip
Fix the serial console on machines where the serial port is located on the SuperIO chip. Signed-off-by: Helge Deller <deller@gmx.de> Cc: Peter Hurley <peter@hurleysoftware.com>
This commit is contained in:
parent
aad7fb916a
commit
3edfe0030b
1 changed files with 2 additions and 1 deletions
|
@ -395,7 +395,8 @@ static void __init superio_serial_init(void)
|
||||||
serial_port.iotype = UPIO_PORT;
|
serial_port.iotype = UPIO_PORT;
|
||||||
serial_port.type = PORT_16550A;
|
serial_port.type = PORT_16550A;
|
||||||
serial_port.uartclk = 115200*16;
|
serial_port.uartclk = 115200*16;
|
||||||
serial_port.fifosize = 16;
|
serial_port.flags = UPF_FIXED_PORT | UPF_FIXED_TYPE |
|
||||||
|
UPF_BOOT_AUTOCONF;
|
||||||
|
|
||||||
/* serial port #1 */
|
/* serial port #1 */
|
||||||
serial_port.iobase = sio_dev.sp1_base;
|
serial_port.iobase = sio_dev.sp1_base;
|
||||||
|
|
Loading…
Add table
Reference in a new issue