1 # SPDX-License-Identifier: GPL-2.0
3 # SATA/PATA driver configuration
6 config HAVE_PATA_PLATFORM
9 This is an internal configuration node for any machine that
10 uses pata-platform driver to enable the relevant driver in the
11 configuration structure without having to submit endless patches
12 to update the PATA_PLATFORM entry.
15 tristate "Serial ATA and Parallel ATA drivers (libata)"
21 If you want to use an ATA hard disk, ATA tape drive, ATA CD-ROM or
22 any other ATA device under Linux, say Y and make sure that you know
23 the name of your ATA host adapter (the card inside your computer
24 that "speaks" the ATA protocol, also called ATA controller),
25 because you will be asked for it.
27 NOTE: ATA enables basic SCSI support; *however*,
28 'SCSI disk support', 'SCSI tape support', or
29 'SCSI CDROM support' may also be needed,
30 depending on your hardware configuration.
34 config ATA_NONSTANDARD
43 config ATA_VERBOSE_ERROR
44 bool "Verbose ATA error reporting"
47 This option adds parsing of ATA command descriptions and error bits
48 in libata kernel output, making it easier to interpret.
49 This option will enlarge the kernel by approx. 6KB. Disable it only
50 if kernel size is more important than ease of debugging.
55 bool "\"libata.force=\" kernel parameter support" if EXPERT
58 This option adds support for "libata.force=" kernel parameter for
59 forcing configuration settings.
61 For further information, please read
62 <file:Documentation/admin-guide/kernel-parameters.txt>.
64 This option will enlarge the kernel by approx. 3KB. Disable it if
65 kernel size is more important than ability to override the default
66 configuration settings.
71 bool "ATA ACPI Support"
76 This option adds support for ATA-related ACPI objects.
77 These ACPI objects add the ability to retrieve taskfiles
78 from the ACPI BIOS and write them to the disk controller.
79 These objects may be related to performance, security,
80 power management, or other areas.
81 You can disable this at kernel boot time by using the
82 option libata.noacpi=1
85 bool "SATA Zero Power Optical Disc Drive (ZPODD) support"
86 depends on ATA_ACPI && PM
88 This option adds support for SATA Zero Power Optical Disc
89 Drive (ZPODD). It requires both the ODD and the platform
90 support, and if enabled, will automatically power on/off the
91 ODD when certain condition is satisfied. This does not impact
92 end user's experience of the ODD, only power is saved when
93 the ODD is not in use (i.e. no disc inside).
98 bool "SATA Port Multiplier support"
102 This option adds support for SATA Port Multipliers
103 (the SATA version of an ethernet hub, or SAS expander).
107 comment "Controllers with non-SFF native interface"
110 tristate "AHCI SATA support"
114 This option enables support for AHCI Serial ATA.
118 config SATA_MOBILE_LPM_POLICY
119 int "Default SATA Link Power Management policy for mobile chipsets"
124 Select the Default SATA Link Power Management (LPM) policy to use
125 for mobile / laptop variants of chipsets / "South Bridges".
127 The value set has the following meanings:
128 0 => Keep firmware settings
129 1 => Maximum performance
131 3 => Medium power with Device Initiated PM enabled
134 Note "Minimum power" is known to cause issues, including disk
135 corruption, with some disks and should not be used.
137 config SATA_AHCI_PLATFORM
138 tristate "Platform AHCI SATA support"
141 This option enables support for Platform AHCI Serial ATA
147 tristate "Broadcom AHCI SATA support"
148 depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_NSP || \
152 This option enables support for the AHCI SATA3 controller found on
158 tristate "DaVinci DA850 AHCI SATA support"
159 depends on ARCH_DAVINCI_DA850
162 This option enables support for the DaVinci DA850 SoC's
168 tristate "DaVinci DM816 AHCI SATA support"
169 depends on ARCH_OMAP2PLUS
172 This option enables support for the DaVinci DM816 SoC's
173 onboard AHCI SATA controller.
178 tristate "ST AHCI SATA support"
182 This option enables support for ST AHCI SATA controller.
187 tristate "Freescale i.MX AHCI SATA support"
188 depends on MFD_SYSCON && (ARCH_MXC || COMPILE_TEST)
189 depends on (HWMON && (THERMAL || !THERMAL_OF)) || !HWMON
192 This option enables support for the Freescale i.MX SoC's
198 tristate "CEVA AHCI SATA support"
202 This option enables support for the CEVA AHCI SATA.
203 It can be found on the Xilinx Zynq UltraScale+ MPSoC.
208 tristate "MediaTek AHCI SATA support"
209 depends on ARCH_MEDIATEK
213 This option enables support for the MediaTek SoC's
214 onboard AHCI SATA controller.
219 tristate "Marvell EBU AHCI SATA support"
220 depends on ARCH_MVEBU
223 This option enables support for the Marvebu EBU SoC's
229 tristate "Cavium Octeon Soc Serial ATA"
230 depends on SATA_AHCI_PLATFORM && CAVIUM_OCTEON_SOC
233 This option enables support for Cavium Octeon SoC Serial ATA.
238 tristate "Allwinner sunxi AHCI SATA support"
239 depends on ARCH_SUNXI
242 This option enables support for the Allwinner sunxi SoC's
248 tristate "NVIDIA Tegra AHCI SATA support"
249 depends on ARCH_TEGRA
252 This option enables support for the NVIDIA Tegra SoC's
258 tristate "APM X-Gene 6.0Gbps AHCI SATA host controller support"
262 This option enables support for APM X-Gene SoC SATA host controller.
265 tristate "Freescale QorIQ AHCI SATA support"
269 This option enables support for the Freescale QorIQ AHCI SoC's
275 tristate "Freescale 3.0Gbps SATA support"
279 This option enables support for Freescale 3.0Gbps SATA controller.
280 It can be found on MPC837x and MPC8315.
285 tristate "Gemini SATA bridge support"
286 depends on ARCH_GEMINI || COMPILE_TEST
290 This enabled support for the FTIDE010 to SATA bridge
291 found in Cortina Systems Gemini platform.
295 config SATA_AHCI_SEATTLE
296 tristate "AMD Seattle 6.0Gbps AHCI SATA host controller support"
297 depends on ARCH_SEATTLE
300 This option enables support for AMD Seattle SATA host controller.
305 tristate "Initio 162x SATA support (Very Experimental)"
309 This option enables support for Initio 162x Serial ATA.
311 config SATA_ACARD_AHCI
312 tristate "ACard AHCI variant (ATP 8620)"
316 This option enables support for Acard.
321 tristate "Silicon Image 3124/3132 SATA support"
325 This option enables support for Silicon Image 3124/3132 Serial ATA.
332 bool "ATA SFF support (for legacy IDE and PATA)"
335 This option adds support for ATA controllers with SFF
336 compliant or similar programming interface.
338 SFF is the legacy IDE interface that has been around since
339 the dawn of time. Almost all PATA controllers have an
340 SFF interface. Many SATA controllers have an SFF interface
341 when configured into a legacy compatibility mode.
343 For users with exclusively modern controllers like AHCI,
344 Silicon Image 3124, or Marvell 6440, you may choose to
345 disable this unneeded SFF support.
351 comment "SFF controllers with custom DMA interface"
354 tristate "Pacific Digital ADMA support"
357 This option enables support for Pacific Digital ADMA controllers
361 config PATA_OCTEON_CF
362 tristate "OCTEON Boot Bus Compact Flash support"
363 depends on CAVIUM_OCTEON_SOC
366 This option enables a polled compact flash driver for use with
367 compact flash cards attached to the OCTEON boot bus.
372 tristate "Pacific Digital SATA QStor support"
376 This option enables support for Pacific Digital Serial ATA QStor.
381 tristate "Promise SATA SX4 support (Experimental)"
385 This option enables support for Promise Serial ATA SX4.
390 bool "ATA BMDMA support"
394 This option adds support for SFF ATA controllers with BMDMA
395 capability. BMDMA stands for bus-master DMA and is the
396 de facto DMA interface for SFF controllers.
402 comment "SATA SFF controllers with BMDMA"
405 tristate "Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support"
409 This option enables support for ICH5/6/7/8 Serial ATA
410 and support for PATA on the Intel ESB/ICH/PIIX3/PIIX4 series
416 tristate "DesignWare Cores SATA support"
417 depends on DMADEVICES
421 This option enables support for the on-chip SATA controller of the
422 AppliedMicro processor 460EX.
426 config SATA_DWC_OLD_DMA
427 bool "Support old device trees"
432 This option enables support for old device trees without the
435 config SATA_DWC_DEBUG
436 bool "Debugging driver version"
439 This option enables debugging output in the driver.
441 config SATA_DWC_VDEBUG
442 bool "Verbose debug output"
443 depends on SATA_DWC_DEBUG
445 This option enables the taskfile dumping and NCQ debugging.
448 tristate "Calxeda Highbank SATA support"
449 depends on ARCH_HIGHBANK || COMPILE_TEST
452 This option enables support for the Calxeda Highbank SoC's
458 tristate "Marvell SATA support"
459 depends on PCI || ARCH_DOVE || ARCH_MV78XX0 || \
460 ARCH_MVEBU || ARCH_ORION5X || COMPILE_TEST
464 This option enables support for the Marvell Serial ATA family.
465 Currently supports 88SX[56]0[48][01] PCI(-X) chips,
466 as well as the newer [67]042 PCI-X/PCIe and SOC devices.
471 tristate "NVIDIA SATA support"
475 This option enables support for NVIDIA Serial ATA.
480 tristate "Promise SATA TX2/TX4 support"
484 This option enables support for Promise Serial ATA TX2/TX4.
489 tristate "Renesas R-Car SATA support"
490 depends on ARCH_RENESAS || COMPILE_TEST
493 This option enables support for Renesas R-Car Serial ATA.
498 tristate "Silicon Image SATA support"
502 This option enables support for Silicon Image Serial ATA.
507 tristate "SiS 964/965/966/180 SATA support"
512 This option enables support for SiS Serial ATA on
513 SiS 964/965/966/180 and Parallel ATA on SiS 180.
514 The PATA support for SiS 180 requires additionally to
515 enable the PATA_SIS driver in the config.
519 tristate "ServerWorks Frodo / Apple K2 SATA support"
523 This option enables support for Broadcom/Serverworks/Apple K2
529 tristate "ULi Electronics SATA support"
533 This option enables support for ULi Electronics SATA.
538 tristate "VIA SATA support"
542 This option enables support for VIA Serial ATA.
547 tristate "VITESSE VSC-7174 / INTEL 31244 SATA support"
551 This option enables support for Vitesse VSC7174 and Intel 31244 Serial ATA.
555 comment "PATA SFF controllers with BMDMA"
558 tristate "ALi PATA support"
562 This option enables support for the ALi ATA interfaces
563 found on the many ALi chipsets.
568 tristate "AMD/NVidia PATA support"
572 This option enables support for the AMD and NVidia PATA
573 interfaces found on the chipsets for Athlon/Athlon64.
577 config PATA_ARASAN_CF
578 tristate "ARASAN CompactFlash PATA Controller Support"
579 depends on ARCH_SPEAR13XX || COMPILE_TEST
580 depends on DMADEVICES
583 Say Y here to support the ARASAN CompactFlash PATA controller
586 tristate "ARTOP 6210/6260 PATA support"
589 This option enables support for ARTOP PATA controllers.
594 tristate "ATI PATA support"
597 This option enables support for the ATI ATA interfaces
598 found on the many ATI chipsets.
603 tristate "ARTOP/Acard ATP867X PATA support"
607 This option enables support for ARTOP/Acard ATP867X PATA
613 tristate "Palmchip BK3710 PATA support"
614 depends on ARCH_DAVINCI
617 This option enables support for the integrated IDE controller on
623 tristate "CMD64x PATA support"
627 This option enables support for the CMD64x series chips
628 except for the CMD640.
633 tristate "CS5510/5520 PATA support"
634 depends on PCI && (X86_32 || COMPILE_TEST)
636 This option enables support for the Cyrix 5510/5520
637 companion chip used with the MediaGX/Geode processor family.
642 tristate "CS5530 PATA support"
643 depends on PCI && (X86_32 || COMPILE_TEST)
645 This option enables support for the Cyrix/NatSemi/AMD CS5530
646 companion chip used with the MediaGX/Geode processor family.
651 tristate "CS5535 PATA support (Experimental)"
652 depends on PCI && X86_32
654 This option enables support for the NatSemi/AMD CS5535
655 companion chip used with the Geode processor family.
660 tristate "CS5536 PATA support"
661 depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
663 This option enables support for the AMD CS5536
664 companion chip used with the Geode LX processor family.
669 tristate "Cypress CY82C693 PATA support (Very Experimental)"
673 This option enables support for the Cypress/Contaq CY82C693
674 chipset found in some Alpha systems
679 tristate "EFAR SLC90E66 support"
682 This option enables support for the EFAR SLC90E66
683 IDE controller found on some older machines.
688 tristate "Cirrus Logic EP93xx PATA support"
689 depends on ARCH_EP93XX
692 This option enables support for the PATA controller in
693 the Cirrus Logic EP9312 and EP9315 ARM CPU.
698 tristate "Faraday Technology FTIDE010 PATA support"
701 depends on SATA_GEMINI
703 This option enables support for the Faraday FTIDE010
704 PATA controller found in the Cortina Gemini SoCs.
709 tristate "HPT 366/368 PATA support"
712 This option enables support for the HPT 366 and 368
713 PATA controllers via the new ATA layer.
718 tristate "HPT 370/370A/371/372/374/302 PATA support"
721 This option enables support for the majority of the later HPT
722 PATA controllers via the new ATA layer.
727 tristate "HPT 371N/372N/302N PATA support"
730 This option enables support for the N variant HPT PATA
731 controllers via the new ATA layer.
736 tristate "HPT 343/363 PATA support"
739 This option enables support for the HPT 343/363
740 PATA controllers via the new ATA layer
744 config PATA_HPT3X3_DMA
745 bool "HPT 343/363 DMA support"
746 depends on PATA_HPT3X3
748 This option enables DMA support for the HPT343/363
749 controllers. Enable with care as there are still some
750 problems with DMA on this chipset.
753 tristate "Acorn ICS PATA support"
754 depends on ARM && ARCH_ACORN
757 On Acorn systems, say Y here if you wish to use the ICS PATA
758 interface card. This is not required for ICS partition support.
759 If you are unsure, say N to this.
762 tristate "PATA support for Freescale iMX"
766 This option enables support for the PATA host available on Freescale
772 tristate "IT8213 PATA support (Experimental)"
775 This option enables support for the ITE 821 PATA
776 controllers via the new ATA layer.
781 tristate "IT8211/2 PATA support"
784 This option enables support for the ITE 8211 and 8212
785 PATA controllers via the new ATA layer, including RAID
791 tristate "JMicron PATA support"
794 Enable support for the JMicron IDE controller, via the new
800 tristate "Apple PowerMac/PowerBook internal 'MacIO' IDE"
803 Most IDE capable PowerMacs have IDE busses driven by a variant
804 of this controller which is part of the Apple chipset used on
805 most PowerMac models. Some models have multiple busses using
806 different chipsets, though generally, MacIO is one of them.
809 tristate "Marvell PATA support via legacy mode"
812 This option enables limited support for the Marvell 88SE61xx ATA
813 controllers. If you wish to use only the SATA ports then select
814 the AHCI driver alone. If you wish to the use the PATA port or
815 both SATA and PATA include this driver.
820 tristate "Freescale MPC52xx SoC internal IDE"
821 depends on PPC_MPC52xx && PPC_BESTCOMM
822 select PPC_BESTCOMM_ATA
824 This option enables support for integrated IDE controller
825 of the Freescale MPC52xx SoC.
830 tristate "NETCELL Revolution RAID support"
833 This option enables support for the Netcell Revolution RAID
839 tristate "Ninja32/Delkin Cardbus ATA support"
842 This option enables support for the Ninja32, Delkin and
843 possibly other brands of Cardbus ATA adapter
848 tristate "Nat Semi NS87415 PATA support"
852 This option enables support for the National Semiconductor
853 NS87415 PCI-IDE controller.
858 tristate "Intel PATA old PIIX support"
861 This option enables support for early PIIX PATA support.
866 tristate "OPTI FireStar PATA support (Very Experimental)"
869 This option enables DMA/PIO support for the later OPTi
870 controllers found on some old motherboards and in some
876 tristate "Promise PATA 2027x support"
879 This option enables support for Promise PATA pdc20268 to pdc20277 host adapters.
884 tristate "Older Promise PATA controller support"
887 This option enables support for the Promise 20246, 20262, 20263,
888 20265 and 20267 adapters.
893 tristate "RADISYS 82600 PATA support (Experimental)"
896 This option enables support for the RADISYS 82600
897 PATA controllers via the new ATA layer
902 tristate "RDC PATA support"
905 This option enables basic support for the later RDC PATA controllers
906 controllers via the new ATA layer. For the RDC 1010, you need to
907 enable the IT821X driver instead.
912 tristate "SC1200 PATA support"
913 depends on PCI && (X86_32 || COMPILE_TEST)
915 This option enables support for the NatSemi/AMD SC1200 SoC
916 companion chip used with the Geode processor family.
921 tristate "Intel SCH PATA support"
924 This option enables support for Intel SCH PATA on the Intel
925 SCH (US15W, US15L, UL11L) series host controllers.
929 config PATA_SERVERWORKS
930 tristate "SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support"
933 This option enables support for the Serverworks OSB4/CSB5/CSB6 and
934 HT1000 PATA controllers, via the new ATA layer.
939 tristate "CMD / Silicon Image 680 PATA support"
942 This option enables support for CMD / Silicon Image 680 PATA.
947 tristate "SiS PATA support"
950 This option enables support for SiS PATA controllers
955 tristate "Toshiba Piccolo support (Experimental)"
958 Support for the Toshiba Piccolo controllers. Currently only the
959 primary channel is supported by this driver.
964 tristate "Compaq Triflex PATA support"
967 Enable support for the Compaq 'Triflex' IDE controller as found
968 on many Compaq Pentium-Pro systems, via the new ATA layer.
973 tristate "VIA PATA support"
977 This option enables support for the VIA PATA interfaces
978 found on the many VIA chipsets.
983 tristate "PXA DMA-capable PATA support"
986 This option enables support for harddrive attached to PXA CPU's bus.
988 NOTE: This driver utilizes PXA DMA controller, in case your hardware
989 is not capable of doing MWDMA, use pata_platform instead.
994 tristate "Winbond SL82C105 PATA support"
997 This option enables support for SL82C105 PATA devices found in the
998 Netwinder and some other systems
1004 comment "PIO-only SFF controllers"
1006 config PATA_CMD640_PCI
1007 tristate "CMD640 PCI PATA support (Experimental)"
1011 This option enables support for the CMD640 PCI IDE
1012 interface chip. Only the primary channel is currently
1018 tristate "Atari Falcon PATA support"
1019 depends on M68K && ATARI
1021 This option enables support for the on-board IDE
1022 interface on the Atari Falcon.
1027 tristate "Amiga Gayle PATA support"
1028 depends on M68K && AMIGA
1030 This option enables support for the on-board IDE
1031 interfaces on some Amiga models (A600, A1200,
1032 A4000 and A4000T) and also for IDE interfaces on
1033 the Zorro expansion bus (M-Tech E-Matrix 530
1039 tristate "Buddha/Catweasel/X-Surf PATA support"
1042 This option enables support for the IDE interfaces
1043 on the Buddha, Catweasel and X-Surf expansion boards
1044 on the Zorro expansion bus. It supports up to two
1045 interfaces on the Buddha, three on the Catweasel and
1051 tristate "ISA Plug and Play PATA support"
1054 This option enables support for ISA plug & play ATA
1055 controllers such as those found on old soundcards.
1059 config PATA_IXP4XX_CF
1060 tristate "IXP4XX Compact Flash support"
1061 depends on ARCH_IXP4XX
1063 This option enables support for a Compact Flash connected on
1064 the ixp4xx expansion bus. This driver had been written for
1065 Loft/Avila boards in mind but can work with others.
1070 tristate "Intel PATA MPIIX support"
1073 This option enables support for MPIIX PATA support.
1078 tristate "Nat Semi NS87410 PATA support"
1082 This option enables support for the National Semiconductor
1083 NS87410 PCI-IDE controller.
1088 tristate "OPTI621/6215 PATA support (Very Experimental)"
1091 This option enables full PIO support for the early Opti ATA
1092 controllers found on some old motherboards.
1097 tristate "Palm LifeDrive PATA support"
1098 depends on MACH_PALMLD
1100 This option enables support for Palm LifeDrive's internal ATA
1101 port via the new ATA layer.
1106 tristate "PCMCIA PATA support"
1109 This option enables support for PCMCIA ATA interfaces, including
1110 compact flash card adapters via the new ATA layer.
1114 config PATA_PLATFORM
1115 tristate "Generic platform device PATA support"
1116 depends on EXPERT || PPC || HAVE_PATA_PLATFORM
1118 This option enables support for generic directly connected ATA
1119 devices commonly found on embedded systems.
1123 config PATA_OF_PLATFORM
1124 tristate "OpenFirmware platform device PATA support"
1125 depends on PATA_PLATFORM && OF
1127 This option enables support for generic directly connected ATA
1128 devices commonly found on embedded systems with OpenFirmware
1134 tristate "QDI VLB PATA support"
1138 Support for QDI 6500 and 6580 PATA controllers on VESA local bus.
1141 tristate "RouterBoard 532 PATA CompactFlash support"
1142 depends on MIKROTIK_RB532
1144 This option enables support for the RouterBoard 532
1145 PATA CompactFlash controller.
1150 tristate "PC Tech RZ1000 PATA support"
1153 This option enables basic support for the PC Tech RZ1000/1
1154 PATA controllers via the new ATA layer
1158 config PATA_SAMSUNG_CF
1159 tristate "Samsung SoC PATA support"
1160 depends on SAMSUNG_DEV_IDE
1163 This option enables basic support for Samsung's S3C/S5P board
1164 PATA controllers via the new ATA layer
1168 config PATA_WINBOND_VLB
1169 tristate "Winbond W83759A VLB PATA support (Experimental)"
1173 Support for the Winbond W83759A controller on Vesa Local Bus
1176 comment "Generic fallback / legacy drivers"
1179 tristate "ACPI firmware driver for PATA"
1180 depends on ATA_ACPI && ATA_BMDMA && PCI
1183 This option enables an ACPI method driver which drives
1184 motherboard PATA controller interfaces through the ACPI
1185 firmware in the BIOS. This driver can sometimes handle
1186 otherwise unsupported hardware.
1189 tristate "Generic ATA support"
1190 depends on PCI && ATA_BMDMA
1193 This option enables support for generic BIOS configured
1194 ATA controllers via the new ATA layer
1199 tristate "Legacy ISA PATA support (Experimental)"
1200 depends on (ISA || PCI)
1203 This option enables support for ISA/VLB/PCI bus legacy PATA
1204 ports and allows them to be accessed via the new ATA layer.