From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [PATCH v5 1/4] isa: Allow ISA-style drivers on modern systems Date: Sat, 28 May 2016 12:35:08 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-oi0-f68.google.com ([209.85.218.68]:32785 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750742AbcE1TfJ (ORCPT ); Sat, 28 May 2016 15:35:09 -0400 In-Reply-To: Sender: linux-next-owner@vger.kernel.org List-ID: To: William Breathitt Gray Cc: Greg Kroah-Hartman , Andrew Morton , the arch/x86 maintainers , linux-next , "linux-gpio@vger.kernel.org" , linux-iio@vger.kernel.org, Linux Kernel Mailing List , Linux Watchdog Mailing List , Stephen Rothwell , Guenter Roeck On Fri, May 27, 2016 at 3:08 PM, William Breathitt Gray wrote: > Several modern devices, such as PC/104 cards, are expected to run on > modern systems via an ISA bus interface. Since ISA is a legacy interface > for most modern architectures, ISA support should remain disabled in > general. Support for ISA-style drivers should be enabled on a per driver > basis. > > To allow ISA-style drivers on modern systems, this patch introduces the > ISA_BUS_API and ISA_BUS Kconfig options. The ISA bus driver will now > build conditionally on the ISA_BUS_API Kconfig option, which defaults to > the legacy ISA Kconfig option. The ISA_BUS Kconfig option allows the > ISA_BUS_API Kconfig option to be selected on architectures which do not > enable ISA (e.g. X86_64). > > The ISA_BUS Kconfig option is currently only implemented for X86 > architectures. Other architectures may have their own ISA_BUS Kconfig > options added as required. > > Cc: Linus Torvalds Acked-by: Linus Torvalds This version seems fine and safe. I didn't see the other patches in the series (not cc'd to me), but at least this one would seem to do the right thing and expose part of the ISA code without causing other architectures to possibly lose it. Linus