mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-31 01:16:46 +02:00
[brcm47xx] correctly set mapbase while registering the UART (#4622)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15255 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fb16d85a72
commit
3504fa9368
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user