Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1314647

Re: [PATCH] base: isa: Remove X86_32 dependency

From William Breathitt Gray <vilhelm.gray@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] base: isa: Remove X86_32 dependency
Date 2016-01-22 00:50 +0100
Message-ID <qTx9g-3Wh-9@gated-at.bofh.it> (permalink)
References <qTpOq-7iT-3@gated-at.bofh.it> <qTtp0-1qg-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01/21/2016 02:40 PM, H. Peter Anvin wrote:
> CONFIG_ISA is mainly used to exclude drivers that are for ISA-specific
> devices.
> 
> However, PC/104 is indeed an actual ISA parallel bus, and as you say
> widely used in embedded systems.  However, I would like to see if there
> are anything hidden with !CONFIG_ISA which makes sense in PC104 systems.

My ultimate objective is to be able to use the ISA bus driver
(drivers/base/isa.c). This driver is conditionally compiled based on
CONFIG_ISA, which in turn depends on CONFIG_X86_32. Up until now, I've
been using platform_driver for my non-hotpluggable PC/104 devices, but
it appears that isa_driver is more appropriate; unfortunately, I have
CONFIG_X86_64 set, which prevents the compilation of drivers/base/isa.c
due to the CONFIG_X86_32 dependency.

I can alternatively create a patch to introduce a CONFIG_PC104 option.
This would allow the compilation of the ISA bus driver on either
CONFIG_ISA or CONFIG_PC104, thus allowing CONFIG_ISA to remain dependent
on CONFIG_X86_32. However, if the CONFIG_X86_32 dependency was
arbitrarily added to simply hide ISA functionality from newer
motherboards, perhaps the dependency should be removed.

William Breathitt Gray

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] base: isa: Remove X86_32 dependency William Breathitt Gray <vilhelm.gray@gmail.com> - 2016-01-21 17:00 +0100
  Re: [PATCH] base: isa: Remove X86_32 dependency "H. Peter Anvin" <hpa@zytor.com> - 2016-01-21 20:50 +0100
    Re: [PATCH] base: isa: Remove X86_32 dependency William Breathitt Gray <vilhelm.gray@gmail.com> - 2016-01-22 00:50 +0100
      Re: [PATCH] base: isa: Remove X86_32 dependency "H. Peter Anvin" <hpa@zytor.com> - 2016-01-22 00:50 +0100
        Re: [PATCH] base: isa: Remove X86_32 dependency William Breathitt Gray <vilhelm.gray@gmail.com> - 2016-01-22 01:10 +0100
          Re: [PATCH] base: isa: Remove X86_32 dependency Thomas Gleixner <tglx@linutronix.de> - 2016-01-22 09:10 +0100

csiph-web