ramips: UPF_FIXED_TYPE must be set for the serial ports
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 27 Mar 2011 19:20:03 +0000 (19:20 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 27 Mar 2011 19:20:03 +0000 (19:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26327 3c298f89-4303-0410-b956-a3cf2f4a3e73

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;
This page took 0.024686 seconds and 4 git commands to generate.