diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-27 19:20:03 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-27 19:20:03 +0000 |
commit | 3caf3c48cf0c3ef99654636a50e0e3c993d7b052 (patch) | |
tree | 1a0bc8761205d6a7dea0771dfc949f8ccbbcc1f8 /target/linux/ramips/files/arch | |
parent | 6513a4df99b1abdc062779feccb98fc6cc1f07e0 (diff) |
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
Diffstat (limited to 'target/linux/ramips/files/arch')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/common/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |