LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jan Altenberg <jan.altenberg@linutronix.de>
To: andrew@sanpeople.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 2.6.21-rc2] AT91SAM9261: Enable second and third UART
Date: Thu, 01 Mar 2007 16:24:53 +0100	[thread overview]
Message-ID: <1172762693.13036.5.camel@bender.tec.linutronix.de> (raw)

- 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)



             reply	other threads:[~2007-03-01 15:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-01 15:24 Jan Altenberg [this message]
2007-03-01 18:26 ` Ben Dooks
2007-03-01 20:03   ` Jan Altenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1172762693.13036.5.camel@bender.tec.linutronix.de \
    --to=jan.altenberg@linutronix.de \
    --cc=andrew@sanpeople.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [PATCH 2.6.21-rc2] AT91SAM9261: Enable second and third UART' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).