From 1844ea6c7b5f8ef8892d825637d7eddf25391c55 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 27 Mar 2011 19:20:03 +0000 Subject: [PATCH] ramips: UPF_FIXED_TYPE must be set for the serial ports SVN-Revision: 26327 --- target/linux/ramips/files/arch/mips/ralink/common/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/files/arch/mips/ralink/common/setup.c b/target/linux/ramips/files/arch/mips/ralink/common/setup.c index 877d0b7def..e8126b11c8 100644 --- a/target/linux/ramips/files/arch/mips/ralink/common/setup.c +++ b/target/linux/ramips/files/arch/mips/ralink/common/setup.c @@ -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; -- 2.30.2