Skip to content

Commit 81ce3c4

Browse files
author
Jeff Garzik
committed
Clean up drivers/ata/Kconfig a bit.
1 parent 281d426 commit 81ce3c4

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

drivers/ata/Kconfig

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,30 @@
33
#
44

55
menu "Serial ATA (prod) and Parallel ATA (experimental) drivers"
6-
depends on SCSI
76

87
config ATA
98
tristate "ATA device support"
10-
depends on SCSI
9+
select SCSI
1110
---help---
1211
If you want to use a ATA hard disk, ATA tape drive, ATA CD-ROM or
1312
any other ATA device under Linux, say Y and make sure that you know
1413
the name of your ATA host adapter (the card inside your computer
1514
that "speaks" the ATA protocol, also called ATA controller),
1615
because you will be asked for it.
1716

17+
if ATA
18+
1819
config SATA_AHCI
1920
tristate "AHCI SATA support"
20-
depends on ATA && PCI
21+
depends on PCI
2122
help
2223
This option enables support for AHCI Serial ATA.
2324

2425
If unsure, say N.
2526

2627
config SATA_SVW
2728
tristate "ServerWorks Frodo / Apple K2 SATA support"
28-
depends on ATA && PCI
29+
depends on PCI
2930
help
3031
This option enables support for Broadcom/Serverworks/Apple K2
3132
SATA support.
@@ -34,7 +35,7 @@ config SATA_SVW
3435

3536
config ATA_PIIX
3637
tristate "Intel PIIX/ICH SATA support"
37-
depends on ATA && PCI
38+
depends on PCI
3839
help
3940
This option enables support for ICH5/6/7/8 Serial ATA.
4041
If PATA support was enabled previously, this enables
@@ -44,7 +45,7 @@ config ATA_PIIX
4445

4546
config SATA_MV
4647
tristate "Marvell SATA support (HIGHLY EXPERIMENTAL)"
47-
depends on ATA && PCI && EXPERIMENTAL
48+
depends on PCI && EXPERIMENTAL
4849
help
4950
This option enables support for the Marvell Serial ATA family.
5051
Currently supports 88SX[56]0[48][01] chips.
@@ -53,87 +54,87 @@ config SATA_MV
5354

5455
config SATA_NV
5556
tristate "NVIDIA SATA support"
56-
depends on ATA && PCI
57+
depends on PCI
5758
help
5859
This option enables support for NVIDIA Serial ATA.
5960

6061
If unsure, say N.
6162

6263
config PDC_ADMA
6364
tristate "Pacific Digital ADMA support"
64-
depends on ATA && PCI
65+
depends on PCI
6566
help
6667
This option enables support for Pacific Digital ADMA controllers
6768

6869
If unsure, say N.
6970

7071
config SATA_QSTOR
7172
tristate "Pacific Digital SATA QStor support"
72-
depends on ATA && PCI
73+
depends on PCI
7374
help
7475
This option enables support for Pacific Digital Serial ATA QStor.
7576

7677
If unsure, say N.
7778

7879
config SATA_PROMISE
7980
tristate "Promise SATA TX2/TX4 support"
80-
depends on ATA && PCI
81+
depends on PCI
8182
help
8283
This option enables support for Promise Serial ATA TX2/TX4.
8384

8485
If unsure, say N.
8586

8687
config SATA_SX4
8788
tristate "Promise SATA SX4 support"
88-
depends on ATA && PCI && EXPERIMENTAL
89+
depends on PCI && EXPERIMENTAL
8990
help
9091
This option enables support for Promise Serial ATA SX4.
9192

9293
If unsure, say N.
9394

9495
config SATA_SIL
9596
tristate "Silicon Image SATA support"
96-
depends on ATA && PCI
97+
depends on PCI
9798
help
9899
This option enables support for Silicon Image Serial ATA.
99100

100101
If unsure, say N.
101102

102103
config SATA_SIL24
103104
tristate "Silicon Image 3124/3132 SATA support"
104-
depends on ATA && PCI
105+
depends on PCI
105106
help
106107
This option enables support for Silicon Image 3124/3132 Serial ATA.
107108

108109
If unsure, say N.
109110

110111
config SATA_SIS
111112
tristate "SiS 964/180 SATA support"
112-
depends on ATA && PCI
113+
depends on PCI
113114
help
114115
This option enables support for SiS Serial ATA 964/180.
115116

116117
If unsure, say N.
117118

118119
config SATA_ULI
119120
tristate "ULi Electronics SATA support"
120-
depends on ATA && PCI
121+
depends on PCI
121122
help
122123
This option enables support for ULi Electronics SATA.
123124

124125
If unsure, say N.
125126

126127
config SATA_VIA
127128
tristate "VIA SATA support"
128-
depends on ATA && PCI
129+
depends on PCI
129130
help
130131
This option enables support for VIA Serial ATA.
131132

132133
If unsure, say N.
133134

134135
config SATA_VITESSE
135136
tristate "VITESSE VSC-7174 / INTEL 31244 SATA support"
136-
depends on ATA && PCI
137+
depends on PCI
137138
help
138139
This option enables support for Vitesse VSC7174 and Intel 31244 Serial ATA.
139140

@@ -144,5 +145,6 @@ config SATA_INTEL_COMBINED
144145
depends on IDE=y && !BLK_DEV_IDE_SATA && (SATA_AHCI || ATA_PIIX)
145146
default y
146147

148+
endif
147149
endmenu
148150

0 commit comments

Comments
 (0)