From: Randy Dunlap <rdunlap@infradead.org>
To: linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
linux-serial@vger.kernel.org
Subject: [PATCH 3/4 v2] serial: Kconfig: fix ordering of entries for menu display
Date: Sat, 10 Jan 2026 15:26:42 -0800 [thread overview]
Message-ID: <20260110232643.3533351-4-rdunlap@infradead.org> (raw)
In-Reply-To: <20260110232643.3533351-1-rdunlap@infradead.org>
Improve the "Non-8250 serial port support" menu so that entries in it
are displayed in a better order (_CONSOLE after its driver) and so that
intervening symbols don't break up the dependency list, allowing menu
entries to be displayed with proper indentation.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: no change (resending since patch 4 changed)
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: linux-serial@vger.kernel.org
drivers/tty/serial/Kconfig | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
--- linux-next-20251219.orig/drivers/tty/serial/Kconfig
+++ linux-next-20251219/drivers/tty/serial/Kconfig
@@ -413,6 +413,10 @@ config SERIAL_21285_CONSOLE
your boot loader (lilo or loadlin) about how to pass options to the
kernel at boot time.)
+config SERIAL_PXA_NON8250
+ bool
+ depends on !SERIAL_8250 || COMPILE_TEST
+
config SERIAL_PXA
bool "PXA serial port support (DEPRECATED)"
depends on ARCH_PXA || ARCH_MMP
@@ -426,10 +430,6 @@ config SERIAL_PXA
Unless you have a specific need, you should use SERIAL_8250_PXA
instead of this.
-config SERIAL_PXA_NON8250
- bool
- depends on !SERIAL_8250 || COMPILE_TEST
-
config SERIAL_PXA_CONSOLE
bool "Console on PXA serial port (DEPRECATED)"
depends on SERIAL_PXA
@@ -863,15 +863,15 @@ config SERIAL_ICOM
This driver can also be built as a module. If so, the module
will be called icom.
+config HAS_TXX9_SERIAL
+ bool
+
config SERIAL_TXX9
bool "TMPTX39XX/49XX SIO support"
depends on HAS_TXX9_SERIAL
select SERIAL_CORE
default y
-config HAS_TXX9_SERIAL
- bool
-
config SERIAL_TXX9_NR_UARTS
int "Maximum number of TMPTX39XX/49XX SIO ports"
depends on SERIAL_TXX9
@@ -1251,12 +1251,6 @@ config SERIAL_AR933X_NR_UARTS
Set this to the number of serial ports you want the driver
to support.
-config SERIAL_MPS2_UART_CONSOLE
- bool "MPS2 UART console support"
- depends on SERIAL_MPS2_UART
- select SERIAL_CORE_CONSOLE
- select SERIAL_EARLYCON
-
config SERIAL_MPS2_UART
bool "MPS2 UART port"
depends on ARCH_MPS2 || COMPILE_TEST
@@ -1264,6 +1258,12 @@ config SERIAL_MPS2_UART
help
This driver support the UART ports on ARM MPS2.
+config SERIAL_MPS2_UART_CONSOLE
+ bool "MPS2 UART console support"
+ depends on SERIAL_MPS2_UART
+ select SERIAL_CORE_CONSOLE
+ select SERIAL_EARLYCON
+
config SERIAL_ARC
tristate "ARC UART driver support"
select SERIAL_CORE
next prev parent reply other threads:[~2026-01-10 23:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-10 23:26 [PATCH 0/4 v2] serial: Kconfig cleanups Randy Dunlap
2026-01-10 23:26 ` [PATCH 1/4 v2] serial: imx: change SERIAL_IMX_CONSOLE to bool Randy Dunlap
2026-01-10 23:26 ` [PATCH 2/4 v2] serial: 8250: fix ordering of entries for menu display Randy Dunlap
2026-01-10 23:26 ` Randy Dunlap [this message]
2026-01-10 23:26 ` [PATCH 4/4 v2] serial: SH_SCI: improve "DMA support" prompt Randy Dunlap
2026-01-12 10:03 ` Geert Uytterhoeven
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=20260110232643.3533351-4-rdunlap@infradead.org \
--to=rdunlap@infradead.org \
--cc=geert+renesas@glider.be \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox