Эх сурвалжийг харах

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

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>
Alan Cox 15 жил өмнө
parent
commit
96780078f3

+ 2 - 2
drivers/ata/Kconfig

@@ -446,9 +446,9 @@ config PATA_JMICRON
 
 
 config PATA_LEGACY
 config PATA_LEGACY
 	tristate "Legacy ISA PATA support (Experimental)"
 	tristate "Legacy ISA PATA support (Experimental)"
-	depends on ISA && EXPERIMENTAL
+	depends on (ISA || PCI)  && EXPERIMENTAL
 	help
 	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.
 	  ports and allows them to be accessed via the new ATA layer.
 
 
 	  If unsure, say N.
 	  If unsure, say N.