From: Randy Dunlap <rdunlap@infradead.org>
To: Ethan Nelson-Moore <enelsonmoore@gmail.com>,
linux-serial@vger.kernel.org
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Jiri Slaby" <jirislaby@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>
Subject: Re: [PATCH 2/3] tty: remove unnecessary SERIAL_NONSTANDARD config option
Date: Thu, 7 May 2026 17:14:44 -0700 [thread overview]
Message-ID: <7aeadaf3-3b0a-4a19-904e-26d5aaf9b76e@infradead.org> (raw)
In-Reply-To: <2cefa6ee9b6bf13d367e15dd74093a0ef9ad81db.1777943090.git.enelsonmoore@gmail.com>
On 5/4/26 6:20 PM, Ethan Nelson-Moore wrote:
> The SERIAL_NONSTANDARD config option currently only guards the
> selection of two Moxa multiport serial card drivers and the HDLC line
> discipline, so it does not significantly simplify configuration. Make
> the configuration process more straightforward by dropping this option
> and dependencies on it.
>
> Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
> ---
> arch/arm/configs/footbridge_defconfig | 1 -
> arch/arm/configs/lpc18xx_defconfig | 1 -
> arch/arm/configs/mps2_defconfig | 1 -
> arch/arm/configs/neponset_defconfig | 1 -
> arch/arm/configs/stm32_defconfig | 1 -
> arch/csky/configs/defconfig | 1 -
> arch/loongarch/configs/loongson32_defconfig | 1 -
> arch/loongarch/configs/loongson64_defconfig | 1 -
> arch/mips/configs/bigsur_defconfig | 1 -
> arch/mips/configs/lemote2f_defconfig | 1 -
> arch/mips/configs/loongson2k_defconfig | 1 -
> arch/mips/configs/loongson3_defconfig | 1 -
> arch/powerpc/configs/cell_defconfig | 1 -
> arch/powerpc/configs/microwatt_defconfig | 1 -
> arch/powerpc/configs/ppc6xx_defconfig | 1 -
> arch/sh/configs/polaris_defconfig | 1 -
> arch/x86/configs/i386_defconfig | 1 -
> arch/x86/configs/x86_64_defconfig | 1 -
> drivers/tty/Kconfig | 18 ------------------
> drivers/tty/serial/Kconfig | 4 ++--
> tools/testing/selftests/bpf/config.x86_64 | 1 -
> tools/testing/selftests/hid/config.common | 1 -
> 22 files changed, 2 insertions(+), 40 deletions(-)
>
> diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig
> index 63b378e44a59..a9ade8bc88b2 100644
> --- a/drivers/tty/Kconfig
> +++ b/drivers/tty/Kconfig
> @@ -191,26 +191,8 @@ config LDISC_AUTOLOAD
>
> source "drivers/tty/serial/Kconfig"
>
> -config SERIAL_NONSTANDARD
> - bool "Non-standard serial port support"
> - depends on HAS_IOMEM
> - help
> - Say Y here if you have any non-standard serial boards -- boards
> - which aren't supported using the standard "dumb" serial driver.
> - This includes intelligent serial boards such as
> - Digiboards, etc. These are usually used for systems that need many
> - serial ports because they serve many terminals or dial-in
> - connections.
> -
> - Note that the answer to this question won't directly affect the
> - kernel: saying N will just cause the configurator to skip all
> - the questions about non-standard serial boards.
> -
> - Most people can say N here.
> -
> config N_HDLC
> tristate "HDLC line discipline support"
> - depends on SERIAL_NONSTANDARD
Here, N_HDLC used to depend on HAS_IOMEM (due to SERIAL_NONSTANDARD).
It no longer depends on HAS_IOMEM so it can be built for ARCH=um with
no build errors.
Just FYI/FWIW. Maybe add that to the commit message.
--
~Randy
next prev parent reply other threads:[~2026-05-08 0:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-05 1:20 [PATCH 0/3] Small cleanups to serial driver organization, configuration, and documentation Ethan Nelson-Moore
2026-05-05 1:20 ` [PATCH 1/3] tty: move remaining serial drivers into the serial/ directory Ethan Nelson-Moore
2026-05-05 5:59 ` Jiri Slaby
2026-05-06 3:15 ` Crescent Hsieh
2026-05-05 1:20 ` [PATCH 2/3] tty: remove unnecessary SERIAL_NONSTANDARD config option Ethan Nelson-Moore
2026-05-08 0:14 ` Randy Dunlap [this message]
2026-05-05 1:20 ` [PATCH 3/3] docs: driver-api/tty/index.rst: copy-editing; improve organization Ethan Nelson-Moore
2026-05-08 0:16 ` Randy Dunlap
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=7aeadaf3-3b0a-4a19-904e-26d5aaf9b76e@infradead.org \
--to=rdunlap@infradead.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=enelsonmoore@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jirislaby@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