From: William Breathitt Gray <vilhelm.gray@gmail.com>
To: "Mateusz Jończyk" <mat.jonczyk@o2.pl>
Cc: linux-kernel@vger.kernel.org, x86@kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH 10/10] x86/Kconfig: remove CONFIG_ISA_BUS
Date: Mon, 28 Feb 2022 18:26:08 -0500 [thread overview]
Message-ID: <Yh1aEGwekig1hG9G@ishi> (raw)
In-Reply-To: <20220228212826.27080-11-mat.jonczyk@o2.pl>
On Mon, Feb 28, 2022 at 10:28:26PM +0100, Mateusz Jończyk wrote:
> CONFIG_ISA_BUS was used only as a dependency for a single Industrial IO
> driver: CONFIG_CIO_DAC ("Measurement Computing CIO-DAC IIO driver"). At
> least grepping the kernel source for "ISA_BUS" did not find any other
> meaningful results.
>
> There are more configuration options that select CONFIG_ISA_BUS_API, but
> did not depend on CONFIG_ISA_BUS. Most of these are for Industrial IO and
> GPIO drivers.
>
> Signed-off-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: Dave Hansen <dave.hansen@linux.intel.com>
> Cc: x86@kernel.org
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: William Breathitt Gray <vilhelm.gray@gmail.com>
For context, the Measurement Computing CIO-DAC device comes in two
form factors: PC104 and ISA. The PC104 bus is typically aimed at
embedded systems and not commonly used by general users, so the
CONFIG_PC104 Kconfig option was introduced to filter out these devices
for most users who would generally not be interested in them. Because
the CIO-DAC device is also available in an ISA form factor, I needed a
way to have the CONFIG_CIO_DAC Kconfig available even on non-PC104
systems; that's how the CONFIG_ISA_BUS Kconfig option came about.
The purpose of the CONFIG_ISA_BUS Kconfig option is filter out ISA bus
devices because few users will have an ISA bus. I suppose it does no
harm to remove that filter because users can still select CONFIG_CIO_DAC
if they want it, so I'm all right with this patch.
Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
> ---
> arch/x86/Kconfig | 11 -----------
> drivers/iio/dac/Kconfig | 2 +-
> 2 files changed, 1 insertion(+), 12 deletions(-)
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 19acc5954083..2de46adfbde2 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -2692,17 +2692,6 @@ config PCI_CNB20LE_QUIRK
>
> You should say N unless you know you need this.
>
> -config ISA_BUS
> - bool "ISA bus support on modern systems" if EXPERT
> - help
> - Expose ISA bus device drivers and options available for selection and
> - configuration. Enable this option if your target machine has an ISA
> - bus. ISA is an older system, displaced by PCI and newer bus
> - architectures -- if your target machine is modern, it probably does
> - not have an ISA bus.
> -
> - If unsure, say N.
> -
> # x86_64 have no ISA slots, but can have ISA-style DMA.
> config ISA_DMA_API
> bool "ISA-style DMA support" if (X86_64 && EXPERT)
> diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig
> index bfcf7568de32..fe0f2a93055d 100644
> --- a/drivers/iio/dac/Kconfig
> +++ b/drivers/iio/dac/Kconfig
> @@ -264,7 +264,7 @@ config AD8801
>
> config CIO_DAC
> tristate "Measurement Computing CIO-DAC IIO driver"
> - depends on X86 && (ISA_BUS || PC104)
> + depends on X86
> select ISA_BUS_API
> help
> Say yes here to build support for the Measurement Computing CIO-DAC
> --
> 2.25.1
>
prev parent reply other threads:[~2022-02-28 23:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-28 21:28 [PATCH 00/10] x86: Kconfig cleanups and help text improvements Mateusz Jończyk
2022-02-28 21:28 ` [PATCH 01/10] x86/Kconfig: enable X86_X2APIC by default and improve help text Mateusz Jończyk
2022-02-28 21:35 ` Randy Dunlap
2022-02-28 21:28 ` [PATCH 02/10] x86/apic: fix panic message when x2APIC is not supported Mateusz Jończyk
2022-02-28 21:28 ` [PATCH 03/10] x86/Kconfig: always enable ARCH_SPARSEMEM_ENABLE Mateusz Jończyk
2022-02-28 21:28 ` [PATCH 04/10] x86/Kconfig: drop X86_32_NON_STANDARD Mateusz Jończyk
2022-02-28 21:28 ` [PATCH 05/10] x86/Kconfig: move all X86_EXTENDED_PLATFORM options together Mateusz Jończyk
2022-02-28 21:28 ` [PATCH 06/10] x86/Kconfig: update lists in X86_EXTENDED_PLATFORM Mateusz Jończyk
2022-02-28 21:28 ` [PATCH 07/10] x86/Kconfig: add help text to CONFIG_PCI_MMCONFIG Mateusz Jończyk
2022-02-28 21:28 ` [PATCH 08/10] x86/Kconfig: improve CONFIG_PCI_CNB20LE_QUIRK doc Mateusz Jończyk
2022-02-28 21:28 ` [PATCH 09/10] x86/Kconfig: document year of release of glibc 2.3.3 Mateusz Jończyk
2022-02-28 21:28 ` [PATCH 10/10] x86/Kconfig: remove CONFIG_ISA_BUS Mateusz Jończyk
2022-02-28 23:26 ` William Breathitt Gray [this message]
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=Yh1aEGwekig1hG9G@ishi \
--to=vilhelm.gray@gmail.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mat.jonczyk@o2.pl \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@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