libata: Allow pata_legacy to be built on non-ISA but PCI systems
authorAlan Cox <alan@linux.intel.com>
Mon, 8 Feb 2010 10:04:54 +0000 (10:04 +0000)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 1 Mar 2010 19:58:46 +0000 (14:58 -0500)
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>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/Kconfig

index 56c6374..01c52c4 100644 (file)
@@ -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.