From: Florian Fainelli Date: Sun, 19 Apr 2009 13:43:00 +0000 (+0000) Subject: correctly set mapbase while registering the UART (#4622) X-Git-Tag: reboot~23960 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a9f97c3def095e7a3bbd010593ce95ee33fd17fd;p=openwrt%2Fstaging%2Flynxis.git correctly set mapbase while registering the UART (#4622) SVN-Revision: 15255 --- 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;