parisc: Fix serial console for machines with serial port on superio chip
authorHelge Deller <deller@gmx.de>
Wed, 1 Oct 2014 20:11:01 +0000 (22:11 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 1 Oct 2014 20:12:50 +0000 (22:12 +0200)
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>
drivers/parisc/superio.c

index a042d065a0c757bdee271718808c349c6a07898e..8be2096c842390f5ecefc24186267e9ce4f61e2b 100644 (file)
@@ -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;