From 3caf3c48cf0c3ef99654636a50e0e3c993d7b052 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 27 Mar 2011 19:20:03 +0000 Subject: ramips: UPF_FIXED_TYPE must be set for the serial ports 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/files/arch/mips') 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 877d0b7de..e8126b11c 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; -- cgit v1.2.3