]> err.no Git - linux-2.6/commitdiff
[ARM] 3600/1: increase amba-pl010 UART_NR to 8
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 20 Jun 2006 18:24:07 +0000 (19:24 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 20 Jun 2006 18:24:07 +0000 (19:24 +0100)
Patch from Lennert Buytenhek

The cirrus ep93xx has 3 pl010 UARTs, while amba-pl010.c only allows
for 2 by default.  A while ago, I think we agreed on changing the 2
to 8, but I don't see this in 2.6.17 yet.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/amba-pl010.c

index 1631414000a2c738bd38f10beb05e81f47ead172..e920d196d0b1b64bb6f0c3f3d1f2a1149ddb3504 100644 (file)
@@ -52,7 +52,7 @@
 
 #include <asm/io.h>
 
-#define UART_NR                2
+#define UART_NR                8
 
 #define SERIAL_AMBA_MAJOR      204
 #define SERIAL_AMBA_MINOR      16