diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-03-27 19:20:03 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-03-27 19:20:03 +0000 |
commit | 729eb335e4c7a9807706c36d7186f96196482154 (patch) | |
tree | 1a0bc8761205d6a7dea0771dfc949f8ccbbcc1f8 /target/linux | |
parent | 8eb654c4ef2e248eed9d6b380c16c90d1e4d323b (diff) | |
download | upstream-729eb335e4c7a9807706c36d7186f96196482154.tar.gz upstream-729eb335e4c7a9807706c36d7186f96196482154.tar.bz2 upstream-729eb335e4c7a9807706c36d7186f96196482154.zip |
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')
-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 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; |