[PATCH 2.6.21-rc2] AT91SAM9261: Enable second and third UART

From: Jan Altenberg
Date: Thu Mar 01 2007 - 10:25:49 EST


- Enable ttyS1 and ttyS2 for the AT91SAM9261EK

Signed-off-by: Jan Altenberg <jan@xxxxxxxxxxxxx>

---
arch/arm/mach-at91/board-sam9261ek.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6/arch/arm/mach-at91/board-sam9261ek.c
===================================================================
--- linux-2.6.orig/arch/arm/mach-at91/board-sam9261ek.c
+++ linux-2.6/arch/arm/mach-at91/board-sam9261ek.c
@@ -50,8 +50,8 @@
*/
static struct at91_uart_config __initdata ek_uart_config = {
.console_tty = 0, /* ttyS0 */
- .nr_tty = 1,
- .tty_map = { 3, -1, -1, -1 } /* ttyS0, ..., ttyS3 */
+ .nr_tty = 3,
+ .tty_map = { 3, 0, 1, -1 } /* ttyS0, ..., ttyS3 */
};

static void __init ek_map_io(void)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/