All of lore.kernel.org
 help / color / mirror / Atom feed
From: buserror@gmail.com (Michel Pollet)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: S3C: Kconfig option related to UART dev names
Date: Wed, 27 Jan 2010 14:18:44 +0000	[thread overview]
Message-ID: <1264601924-18480-3-git-send-email-buserror@gmail.com> (raw)
In-Reply-To: <1264601924-18480-2-git-send-email-buserror@gmail.com>

S3C UART devices  are named s3c2410_serialX and it is
inconsistent with the kernel at boot time (console=ttySACx)
This patch allows the config file to override this and
use the standard name instead.

Signed-off-by: Michel Pollet <buserror@gmail.com>
---
 arch/arm/plat-s3c/Kconfig |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-s3c/Kconfig b/arch/arm/plat-s3c/Kconfig
index 9e9d028..158257a 100644
--- a/arch/arm/plat-s3c/Kconfig
+++ b/arch/arm/plat-s3c/Kconfig
@@ -113,6 +113,15 @@ config S3C_LOWLEVEL_UART_PORT
 	  this configuration should be between zero and two. The port
 	  must have been initialised by the boot-loader before use.
 
+config S3C_STD_UART_NAMES
+	bool "Name S3C UART device files as ttySACx"
+	default n
+	help
+	  The kernel and most other SoC use the ttySACx naming scheme
+	  for UART device file naming. The default for S3C is to use
+	  s3c2410_serialX, and it confuses a lot of distros; it is also
+	  inconsistent with the console= kernel parameter.
+
 # options for gpiolib support
 
 config S3C_GPIO_SPACE
-- 
1.6.6

  reply	other threads:[~2010-01-27 14:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-27 14:18 [PATCH 1/3] ARM: S3C2412: SoC has the fractional baud rate register Michel Pollet
2010-01-27 14:18 ` [PATCH 2/3] ARM: S3C: Configuration override for UART names Michel Pollet
2010-01-27 14:18   ` Michel Pollet [this message]
2010-01-27 14:59     ` [PATCH 3/3] ARM: S3C: Kconfig option related to UART dev names Ben Dooks
2010-01-27 14:59   ` [PATCH 2/3] ARM: S3C: Configuration override for UART names Ben Dooks
2010-01-27 15:08     ` M P
2010-01-27 14:58 ` [PATCH 1/3] ARM: S3C2412: SoC has the fractional baud rate register Ben Dooks

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=1264601924-18480-3-git-send-email-buserror@gmail.com \
    --to=buserror@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.