瀏覽代碼

Clean up drivers/ata/Kconfig a bit.

Jeff Garzik 19 年之前
父節點
當前提交
81ce3c4b4d
共有 1 個文件被更改,包括 19 次插入17 次删除
  1. 19 17
      drivers/ata/Kconfig

+ 19 - 17
drivers/ata/Kconfig

@@ -3,11 +3,10 @@
 #
 #
 
 
 menu "Serial ATA (prod) and Parallel ATA (experimental) drivers"
 menu "Serial ATA (prod) and Parallel ATA (experimental) drivers"
-	depends on SCSI
 
 
 config ATA
 config ATA
 	tristate "ATA device support"
 	tristate "ATA device support"
-	depends on SCSI
+	select SCSI
 	---help---
 	---help---
 	  If you want to use a ATA hard disk, ATA tape drive, ATA CD-ROM or
 	  If you want to use a ATA hard disk, ATA tape drive, ATA CD-ROM or
 	  any other ATA device under Linux, say Y and make sure that you know
 	  any other ATA device under Linux, say Y and make sure that you know
@@ -15,9 +14,11 @@ config ATA
 	  that "speaks" the ATA protocol, also called ATA controller),
 	  that "speaks" the ATA protocol, also called ATA controller),
 	  because you will be asked for it.
 	  because you will be asked for it.
 
 
+if ATA
+
 config SATA_AHCI
 config SATA_AHCI
 	tristate "AHCI SATA support"
 	tristate "AHCI SATA support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for AHCI Serial ATA.
 	  This option enables support for AHCI Serial ATA.
 
 
@@ -25,7 +26,7 @@ config SATA_AHCI
 
 
 config SATA_SVW
 config SATA_SVW
 	tristate "ServerWorks Frodo / Apple K2 SATA support"
 	tristate "ServerWorks Frodo / Apple K2 SATA support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for Broadcom/Serverworks/Apple K2
 	  This option enables support for Broadcom/Serverworks/Apple K2
 	  SATA support.
 	  SATA support.
@@ -34,7 +35,7 @@ config SATA_SVW
 
 
 config ATA_PIIX
 config ATA_PIIX
 	tristate "Intel PIIX/ICH SATA support"
 	tristate "Intel PIIX/ICH SATA support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for ICH5/6/7/8 Serial ATA.
 	  This option enables support for ICH5/6/7/8 Serial ATA.
 	  If PATA support was enabled previously, this enables
 	  If PATA support was enabled previously, this enables
@@ -44,7 +45,7 @@ config ATA_PIIX
 
 
 config SATA_MV
 config SATA_MV
 	tristate "Marvell SATA support (HIGHLY EXPERIMENTAL)"
 	tristate "Marvell SATA support (HIGHLY EXPERIMENTAL)"
-	depends on ATA && PCI && EXPERIMENTAL
+	depends on PCI && EXPERIMENTAL
 	help
 	help
 	  This option enables support for the Marvell Serial ATA family.
 	  This option enables support for the Marvell Serial ATA family.
 	  Currently supports 88SX[56]0[48][01] chips.
 	  Currently supports 88SX[56]0[48][01] chips.
@@ -53,7 +54,7 @@ config SATA_MV
 
 
 config SATA_NV
 config SATA_NV
 	tristate "NVIDIA SATA support"
 	tristate "NVIDIA SATA support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for NVIDIA Serial ATA.
 	  This option enables support for NVIDIA Serial ATA.
 
 
@@ -61,7 +62,7 @@ config SATA_NV
 
 
 config PDC_ADMA
 config PDC_ADMA
 	tristate "Pacific Digital ADMA support"
 	tristate "Pacific Digital ADMA support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for Pacific Digital ADMA controllers
 	  This option enables support for Pacific Digital ADMA controllers
 
 
@@ -69,7 +70,7 @@ config PDC_ADMA
 
 
 config SATA_QSTOR
 config SATA_QSTOR
 	tristate "Pacific Digital SATA QStor support"
 	tristate "Pacific Digital SATA QStor support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for Pacific Digital Serial ATA QStor.
 	  This option enables support for Pacific Digital Serial ATA QStor.
 
 
@@ -77,7 +78,7 @@ config SATA_QSTOR
 
 
 config SATA_PROMISE
 config SATA_PROMISE
 	tristate "Promise SATA TX2/TX4 support"
 	tristate "Promise SATA TX2/TX4 support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for Promise Serial ATA TX2/TX4.
 	  This option enables support for Promise Serial ATA TX2/TX4.
 
 
@@ -85,7 +86,7 @@ config SATA_PROMISE
 
 
 config SATA_SX4
 config SATA_SX4
 	tristate "Promise SATA SX4 support"
 	tristate "Promise SATA SX4 support"
-	depends on ATA && PCI && EXPERIMENTAL
+	depends on PCI && EXPERIMENTAL
 	help
 	help
 	  This option enables support for Promise Serial ATA SX4.
 	  This option enables support for Promise Serial ATA SX4.
 
 
@@ -93,7 +94,7 @@ config SATA_SX4
 
 
 config SATA_SIL
 config SATA_SIL
 	tristate "Silicon Image SATA support"
 	tristate "Silicon Image SATA support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for Silicon Image Serial ATA.
 	  This option enables support for Silicon Image Serial ATA.
 
 
@@ -101,7 +102,7 @@ config SATA_SIL
 
 
 config SATA_SIL24
 config SATA_SIL24
 	tristate "Silicon Image 3124/3132 SATA support"
 	tristate "Silicon Image 3124/3132 SATA support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for Silicon Image 3124/3132 Serial ATA.
 	  This option enables support for Silicon Image 3124/3132 Serial ATA.
 
 
@@ -109,7 +110,7 @@ config SATA_SIL24
 
 
 config SATA_SIS
 config SATA_SIS
 	tristate "SiS 964/180 SATA support"
 	tristate "SiS 964/180 SATA support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for SiS Serial ATA 964/180.
 	  This option enables support for SiS Serial ATA 964/180.
 
 
@@ -117,7 +118,7 @@ config SATA_SIS
 
 
 config SATA_ULI
 config SATA_ULI
 	tristate "ULi Electronics SATA support"
 	tristate "ULi Electronics SATA support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for ULi Electronics SATA.
 	  This option enables support for ULi Electronics SATA.
 
 
@@ -125,7 +126,7 @@ config SATA_ULI
 
 
 config SATA_VIA
 config SATA_VIA
 	tristate "VIA SATA support"
 	tristate "VIA SATA support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for VIA Serial ATA.
 	  This option enables support for VIA Serial ATA.
 
 
@@ -133,7 +134,7 @@ config SATA_VIA
 
 
 config SATA_VITESSE
 config SATA_VITESSE
 	tristate "VITESSE VSC-7174 / INTEL 31244 SATA support"
 	tristate "VITESSE VSC-7174 / INTEL 31244 SATA support"
-	depends on ATA && PCI
+	depends on PCI
 	help
 	help
 	  This option enables support for Vitesse VSC7174 and Intel 31244 Serial ATA.
 	  This option enables support for Vitesse VSC7174 and Intel 31244 Serial ATA.
 
 
@@ -144,5 +145,6 @@ config SATA_INTEL_COMBINED
 	depends on IDE=y && !BLK_DEV_IDE_SATA && (SATA_AHCI || ATA_PIIX)
 	depends on IDE=y && !BLK_DEV_IDE_SATA && (SATA_AHCI || ATA_PIIX)
 	default y
 	default y
 
 
+endif
 endmenu
 endmenu