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 877d0b7def46a3dcb525f1d6df2c40e18b20f5ef..e8126b11c8e74b6eae3b6c73bb1019b3e50fade3 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;