diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-04-19 13:43:00 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-04-19 13:43:00 +0000 |
commit | a901c373c43a0e1185b01874761c3bc3a4ebc2a0 (patch) | |
tree | 2cfe782046d5abd90d051d726b4c4819c29aea59 | |
parent | b1b869ec9960762adf57519ec360304f46ac0675 (diff) | |
download | upstream-a901c373c43a0e1185b01874761c3bc3a4ebc2a0.tar.gz upstream-a901c373c43a0e1185b01874761c3bc3a4ebc2a0.tar.bz2 upstream-a901c373c43a0e1185b01874761c3bc3a4ebc2a0.zip |
[brcm47xx] correctly set mapbase while registering the UART (#4622)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15255 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/brcm47xx/patches-2.6.28/400-arch-bcm47xx.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.28/400-arch-bcm47xx.patch b/target/linux/brcm47xx/patches-2.6.28/400-arch-bcm47xx.patch index 127dab5923..ad7e66702a 100644 --- a/target/linux/brcm47xx/patches-2.6.28/400-arch-bcm47xx.patch +++ b/target/linux/brcm47xx/patches-2.6.28/400-arch-bcm47xx.patch @@ -129,7 +129,7 @@ Index: linux-2.6.28.7/arch/mips/bcm47xx/setup.c { int i = 0; -@@ -73,52 +83,141 @@ static void str2eaddr(char *str, char *d +@@ -73,52 +83,142 @@ static void str2eaddr(char *str, char *d } } @@ -272,6 +272,7 @@ Index: linux-2.6.28.7/arch/mips/bcm47xx/setup.c + + memset(&s, 0, sizeof(s)); + s.line = i; ++ s.mapbase = (unsigned int) port->regs; + s.membase = port->regs; + s.irq = port->irq + 2; + s.uartclk = port->baud_base; |