Patchwork libata: Allow pata_legacy to be built on non-ISA but PCI systems

login
register
mail settings
Submitter Alan Cox
Date Feb. 8, 2010, 10:04 a.m.
Message ID <20100208100429.2679.52367.stgit@localhost.localdomain>
Download mbox | patch
Permalink /patch/44770/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Alan Cox - Feb. 8, 2010, 10:04 a.m.
This is needed for some unsupported hardware setups on strange 64bit
mainboards where crazy stuff has been done like putting flash ata adapters
on the LPC bus, or where the real hardware is hidden/confused.

Signed-off-by: Alan Cox <alan@linux.intel.com>
---

 drivers/ata/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jeff Garzik - Feb. 13, 2010, 10:45 p.m.
On 02/08/2010 05:04 AM, Alan Cox wrote:
> This is needed for some unsupported hardware setups on strange 64bit
> mainboards where crazy stuff has been done like putting flash ata adapters
> on the LPC bus, or where the real hardware is hidden/confused.
>
> Signed-off-by: Alan Cox<alan@linux.intel.com>
> ---
>
>   drivers/ata/Kconfig |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)

applied


--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 56c6374..01c52c4 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -446,9 +446,9 @@  config PATA_JMICRON
 
 config PATA_LEGACY
 	tristate "Legacy ISA PATA support (Experimental)"
-	depends on ISA && EXPERIMENTAL
+	depends on (ISA || PCI)  && EXPERIMENTAL
 	help
-	  This option enables support for ISA/VLB bus legacy PATA
+	  This option enables support for ISA/VLB/PCI bus legacy PATA
 	  ports and allows them to be accessed via the new ATA layer.
 
 	  If unsure, say N.