From: Helge Deller Date: Wed, 1 Oct 2014 20:11:01 +0000 (+0200) Subject: parisc: Fix serial console for machines with serial port on superio chip X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3edfe0030bb7a82dab2a30a29ea6e1800e600c4b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Peter Hurley --- diff --git a/drivers/parisc/superio.c b/drivers/parisc/superio.c index a042d065a0c7..8be2096c8423 100644 --- a/drivers/parisc/superio.c +++ b/drivers/parisc/superio.c @@ -395,7 +395,8 @@ static void __init superio_serial_init(void) serial_port.iotype = UPIO_PORT; serial_port.type = PORT_16550A; 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.iobase = sio_dev.sp1_base;