Skip to contentSkip to conversation

pl010: increase UART_NR to allow for more than two pl010 UARTs

PATCH Lennert Buytenhek 1 participant 1 message Apr 4, 2006 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

On the cirrus ep93xx, there are three pl010 UARTs, while the pl010 driver only allows for two by default. Increase UART_NR to eight to allow these extra ports to be used.

drivers/serial/amba-pl010.c +1 -1
Index: linux-2.6.17-rc1/drivers/serial/amba-pl010.c
===================================================================
@@ -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