AT91SAM9261: Enable second and third UART
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
@@ -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 )
Quoted 3 lines · Jan Altenberg
- Enable ttyS1 and ttyS2 for the AT91SAM9261EK
Signed-off-by Jan Altenberg <[email protected]>
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'
Quoted 7 lines · Ben Dooks
Quoted 3 lines · Jan Altenberg
- Enable ttyS1 and ttyS2 for the AT91SAM9261EK
Signed-off-by Jan Altenberg <[email protected]>These should go to Russell King's patch queue at
http://www.arm.linux.org.uk/developer/patches
Submitted to Russell's patch queue.
Cheers,
JAN