Просмотр исходного кода

[PATCH] libata: tighten rules for legacy dependancies

The legacy and QDI drivers are ISA/VLB bus [we don't have a VLB define
but ISA will do nicely].

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Alan Cox 18 лет назад
Родитель
Сommit
4735ebedf3
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      drivers/ata/Kconfig

+ 2 - 1
drivers/ata/Kconfig

@@ -311,7 +311,7 @@ config PATA_JMICRON
 
 
 config PATA_LEGACY
 config PATA_LEGACY
 	tristate "Legacy ISA PATA support (Experimental)"
 	tristate "Legacy ISA PATA support (Experimental)"
-	depends on PCI && EXPERIMENTAL
+	depends on ISA && EXPERIMENTAL
 	help
 	help
 	  This option enables support for ISA/VLB bus legacy PATA
 	  This option enables support for ISA/VLB 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.
@@ -400,6 +400,7 @@ config PATA_PDC_OLD
 
 
 config PATA_QDI
 config PATA_QDI
 	tristate "QDI VLB PATA support"
 	tristate "QDI VLB PATA support"
+	depends on ISA
 	help
 	help
 	  Support for QDI 6500 and 6580 PATA controllers on VESA local bus.
 	  Support for QDI 6500 and 6580 PATA controllers on VESA local bus.