lkml.org 
[lkml]   [2007]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 2.6.21-rc2] AT91SAM9261: Enable second and third UART
From
Date
- Enable ttyS1 and ttyS2 for the AT91SAM9261EK

Signed-off-by: Jan Altenberg <jan@linutronix.de>

---
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-01 16:29    [W:0.040 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site