Skip to contentSkip to conversation

AT91SAM9261: Enable second and third UART

PATCH In review Jan Altenberg 2 participants 3 messages Mar 1, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 AT91SAM9261: Enable second and third UART

- Enable ttyS1 and ttyS2 for the AT91SAM9261EK

---
 arch/arm/mach-at91/board-sam9261ek.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-at91/board-sam9261ek.c +2 -2
Index: 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)
#1 lore raw
Quoted 3 lines · Jan Altenberg

- Enable ttyS1 and ttyS2 for the AT91SAM9261EK

These should go to Russell King's patch queue at
http://www.arm.linux.org.uk/developer/patches

Quoted 26 lines
---
 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
===================================================================

arch/arm/mach-at91/board-sam9261ek.c +2 -3
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 3 lines
Ben ([email protected], http://www.fluff.org/)

  'a smiley only costs 4 bytes'