ramips: UPF_FIXED_TYPE must be set for the serial ports
authorGabor Juhos <juhosg@openwrt.org>
Sun, 27 Mar 2011 19:20:03 +0000 (19:20 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 27 Mar 2011 19:20:03 +0000 (19:20 +0000)
SVN-Revision: 26327

target/linux/ramips/files/arch/mips/ralink/common/setup.c

index 877d0b7..e8126b1 100644 (file)
@@ -49,7 +49,7 @@ void __init ramips_early_serial_setup(int line, unsigned base, unsigned freq,
        int err;
 
        memset(&p, 0, sizeof(p));
-       p.flags         = UPF_SKIP_TEST;
+       p.flags         = UPF_SKIP_TEST | UPF_FIXED_TYPE;
        p.iotype        = UPIO_AU;
        p.uartclk       = freq;
        p.regshift      = 2;