aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/Kconfig
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-04-07 09:47:21 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 15:44:24 -0400
commit127102aea2ea9ec4e9ca233e2b1a75c8d3b058c4 (patch)
tree92fb528eac658adbc7307a009bd8a7558db2658a /drivers/ata/Kconfig
parent350756f6dab6d37ef9ed3f18dec520e88969ddac (diff)
libata: make SFF support optional
Now that SFF support is completely separated out from the core layer, it can be made optional. Add CONFIG_ATA_SFF and let SFF drivers depend on it. If CONFIG_ATA_SFF isn't set, all codes in libata-sff.c and data structures for SFF support are disabled. This saves good number of bytes for small systems. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/ata/Kconfig')
-rw-r--r--drivers/ata/Kconfig44
1 files changed, 27 insertions, 17 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index ea665c249035..48c8fc55391e 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -49,6 +49,32 @@ config SATA_AHCI
49 49
50 If unsure, say N. 50 If unsure, say N.
51 51
52config SATA_SIL24
53 tristate "Silicon Image 3124/3132 SATA support"
54 depends on PCI
55 help
56 This option enables support for Silicon Image 3124/3132 Serial ATA.
57
58 If unsure, say N.
59
60config SATA_FSL
61 tristate "Freescale 3.0Gbps SATA support"
62 depends on FSL_SOC
63 help
64 This option enables support for Freescale 3.0Gbps SATA controller.
65 It can be found on MPC837x and MPC8315.
66
67 If unsure, say N.
68
69config ATA_SFF
70 bool "ATA SFF support"
71 default y
72 help
73 This option adds support for ATA controllers with SFF
74 compliant or similar programming interface.
75
76if ATA_SFF
77
52config SATA_SVW 78config SATA_SVW
53 tristate "ServerWorks Frodo / Apple K2 SATA support" 79 tristate "ServerWorks Frodo / Apple K2 SATA support"
54 depends on PCI 80 depends on PCI
@@ -125,14 +151,6 @@ config SATA_SIL
125 151
126 If unsure, say N. 152 If unsure, say N.
127 153
128config SATA_SIL24
129 tristate "Silicon Image 3124/3132 SATA support"
130 depends on PCI
131 help
132 This option enables support for Silicon Image 3124/3132 Serial ATA.
133
134 If unsure, say N.
135
136config SATA_SIS 154config SATA_SIS
137 tristate "SiS 964/965/966/180 SATA support" 155 tristate "SiS 964/965/966/180 SATA support"
138 depends on PCI 156 depends on PCI
@@ -183,15 +201,6 @@ config PATA_ACPI
183 firmware in the BIOS. This driver can sometimes handle 201 firmware in the BIOS. This driver can sometimes handle
184 otherwise unsupported hardware. 202 otherwise unsupported hardware.
185 203
186config SATA_FSL
187 tristate "Freescale 3.0Gbps SATA support"
188 depends on FSL_SOC
189 help
190 This option enables support for Freescale 3.0Gbps SATA controller.
191 It can be found on MPC837x and MPC8315.
192
193 If unsure, say N.
194
195config PATA_ALI 204config PATA_ALI
196 tristate "ALi PATA support (Experimental)" 205 tristate "ALi PATA support (Experimental)"
197 depends on PCI && EXPERIMENTAL 206 depends on PCI && EXPERIMENTAL
@@ -679,4 +688,5 @@ config PATA_BF54X
679 688
680 If unsure, say N. 689 If unsure, say N.
681 690
691endif # ATA_SFF
682endif # ATA 692endif # ATA