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
38 config ATA_VERBOSE_ERROR
39 bool "Verbose ATA error reporting"
42 This option adds parsing of ATA command descriptions and error bits
43 in libata kernel output, making it easier to interpret.
44 This option will enlarge the kernel by approx. 6KB. Disable it only
45 if kernel size is more important than ease of debugging.
50 bool "ATA ACPI Support"
54 This option adds support for ATA-related ACPI objects.
55 These ACPI objects add the ability to retrieve taskfiles
56 from the ACPI BIOS and write them to the disk controller.
57 These objects may be related to performance, security,
58 power management, or other areas.
59 You can disable this at kernel boot time by using the
60 option libata.noacpi=1
63 bool "SATA Zero Power Optical Disc Drive (ZPODD) support"
64 depends on ATA_ACPI && PM
67 This option adds support for SATA Zero Power Optical Disc
68 Drive (ZPODD). It requires both the ODD and the platform
69 support, and if enabled, will automatically power on/off the
70 ODD when certain condition is satisfied. This does not impact
71 end user's experience of the ODD, only power is saved when
72 the ODD is not in use (i.e. no disc inside).
77 bool "SATA Port Multiplier support"
80 This option adds support for SATA Port Multipliers
81 (the SATA version of an ethernet hub, or SAS expander).
85 comment "Controllers with non-SFF native interface"
88 tristate "AHCI SATA support"
91 This option enables support for AHCI Serial ATA.
95 config SATA_MOBILE_LPM_POLICY
96 int "Default SATA Link Power Management policy for mobile chipsets"
101 Select the Default SATA Link Power Management (LPM) policy to use
102 for mobile / laptop variants of chipsets / "South Bridges".
104 The value set has the following meanings:
105 0 => Keep firmware settings
106 1 => Maximum performance
108 3 => Medium power with Device Initiated PM enabled
111 Note "Minimum power" is known to cause issues, including disk
112 corruption, with some disks and should not be used.
114 config SATA_AHCI_PLATFORM
115 tristate "Platform AHCI SATA support"
117 This option enables support for Platform AHCI Serial ATA
123 tristate "Broadcom AHCI SATA support"
124 depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_NSP
126 This option enables support for the AHCI SATA3 controller found on
132 tristate "DaVinci DA850 AHCI SATA support"
133 depends on ARCH_DAVINCI_DA850
135 This option enables support for the DaVinci DA850 SoC's
141 tristate "DaVinci DM816 AHCI SATA support"
142 depends on ARCH_OMAP2PLUS
144 This option enables support for the DaVinci DM816 SoC's
145 onboard AHCI SATA controller.
150 tristate "ST AHCI SATA support"
153 This option enables support for ST AHCI SATA controller.
158 tristate "Freescale i.MX AHCI SATA support"
159 depends on MFD_SYSCON && (ARCH_MXC || COMPILE_TEST)
160 depends on (HWMON && (THERMAL || !THERMAL_OF)) || !HWMON
162 This option enables support for the Freescale i.MX SoC's
168 tristate "CEVA AHCI SATA support"
171 This option enables support for the CEVA AHCI SATA.
172 It can be found on the Xilinx Zynq UltraScale+ MPSoC.
177 tristate "MediaTek AHCI SATA support"
178 depends on ARCH_MEDIATEK
181 This option enables support for the MediaTek SoC's
182 onboard AHCI SATA controller.
187 tristate "Marvell EBU AHCI SATA support"
188 depends on ARCH_MVEBU
190 This option enables support for the Marvebu EBU SoC's
196 tristate "Cavium Octeon Soc Serial ATA"
197 depends on SATA_AHCI_PLATFORM && CAVIUM_OCTEON_SOC
200 This option enables support for Cavium Octeon SoC Serial ATA.
205 tristate "Allwinner sunxi AHCI SATA support"
206 depends on ARCH_SUNXI
208 This option enables support for the Allwinner sunxi SoC's
214 tristate "NVIDIA Tegra AHCI SATA support"
215 depends on ARCH_TEGRA
217 This option enables support for the NVIDIA Tegra SoC's
223 tristate "APM X-Gene 6.0Gbps AHCI SATA host controller support"
226 This option enables support for APM X-Gene SoC SATA host controller.
229 tristate "Freescale QorIQ AHCI SATA support"
232 This option enables support for the Freescale QorIQ AHCI SoC's
238 tristate "Freescale 3.0Gbps SATA support"
241 This option enables support for Freescale 3.0Gbps SATA controller.
242 It can be found on MPC837x and MPC8315.
247 tristate "Gemini SATA bridge support"
248 depends on ARCH_GEMINI || COMPILE_TEST
251 This enabled support for the FTIDE010 to SATA bridge
252 found in Cortina Systems Gemini platform.
256 config SATA_AHCI_SEATTLE
257 tristate "AMD Seattle 6.0Gbps AHCI SATA host controller support"
258 depends on ARCH_SEATTLE
260 This option enables support for AMD Seattle SATA host controller.
265 tristate "Initio 162x SATA support (Very Experimental)"
268 This option enables support for Initio 162x Serial ATA.
270 config SATA_ACARD_AHCI
271 tristate "ACard AHCI variant (ATP 8620)"
274 This option enables support for Acard.
279 tristate "Silicon Image 3124/3132 SATA support"
282 This option enables support for Silicon Image 3124/3132 Serial ATA.
289 bool "ATA SFF support (for legacy IDE and PATA)"
292 This option adds support for ATA controllers with SFF
293 compliant or similar programming interface.
295 SFF is the legacy IDE interface that has been around since
296 the dawn of time. Almost all PATA controllers have an
297 SFF interface. Many SATA controllers have an SFF interface
298 when configured into a legacy compatibility mode.
300 For users with exclusively modern controllers like AHCI,
301 Silicon Image 3124, or Marvell 6440, you may choose to
302 disable this unneeded SFF support.
308 comment "SFF controllers with custom DMA interface"
311 tristate "Pacific Digital ADMA support"
314 This option enables support for Pacific Digital ADMA controllers
318 config PATA_OCTEON_CF
319 tristate "OCTEON Boot Bus Compact Flash support"
320 depends on CAVIUM_OCTEON_SOC
322 This option enables a polled compact flash driver for use with
323 compact flash cards attached to the OCTEON boot bus.
328 tristate "Pacific Digital SATA QStor support"
331 This option enables support for Pacific Digital Serial ATA QStor.
336 tristate "Promise SATA SX4 support (Experimental)"
339 This option enables support for Promise Serial ATA SX4.
344 bool "ATA BMDMA support"
348 This option adds support for SFF ATA controllers with BMDMA
349 capability. BMDMA stands for bus-master DMA and is the
350 de facto DMA interface for SFF controllers.
356 comment "SATA SFF controllers with BMDMA"
359 tristate "Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support"
362 This option enables support for ICH5/6/7/8 Serial ATA
363 and support for PATA on the Intel ESB/ICH/PIIX3/PIIX4 series
369 tristate "DesignWare Cores SATA support"
370 depends on DMADEVICES
373 This option enables support for the on-chip SATA controller of the
374 AppliedMicro processor 460EX.
378 config SATA_DWC_OLD_DMA
379 bool "Support old device trees"
384 This option enables support for old device trees without the
387 config SATA_DWC_DEBUG
388 bool "Debugging driver version"
391 This option enables debugging output in the driver.
393 config SATA_DWC_VDEBUG
394 bool "Verbose debug output"
395 depends on SATA_DWC_DEBUG
397 This option enables the taskfile dumping and NCQ debugging.
400 tristate "Calxeda Highbank SATA support"
402 depends on ARCH_HIGHBANK || COMPILE_TEST
404 This option enables support for the Calxeda Highbank SoC's
410 tristate "Marvell SATA support"
412 depends on PCI || ARCH_DOVE || ARCH_MV78XX0 || \
413 ARCH_MVEBU || ARCH_ORION5X || COMPILE_TEST
416 This option enables support for the Marvell Serial ATA family.
417 Currently supports 88SX[56]0[48][01] PCI(-X) chips,
418 as well as the newer [67]042 PCI-X/PCIe and SOC devices.
423 tristate "NVIDIA SATA support"
426 This option enables support for NVIDIA Serial ATA.
431 tristate "Promise SATA TX2/TX4 support"
434 This option enables support for Promise Serial ATA TX2/TX4.
439 tristate "Renesas R-Car SATA support"
440 depends on ARCH_RENESAS || COMPILE_TEST
442 This option enables support for Renesas R-Car Serial ATA.
447 tristate "Silicon Image SATA support"
450 This option enables support for Silicon Image Serial ATA.
455 tristate "SiS 964/965/966/180 SATA support"
459 This option enables support for SiS Serial ATA on
460 SiS 964/965/966/180 and Parallel ATA on SiS 180.
461 The PATA support for SiS 180 requires additionally to
462 enable the PATA_SIS driver in the config.
466 tristate "ServerWorks Frodo / Apple K2 SATA support"
469 This option enables support for Broadcom/Serverworks/Apple K2
475 tristate "ULi Electronics SATA support"
478 This option enables support for ULi Electronics SATA.
483 tristate "VIA SATA support"
486 This option enables support for VIA Serial ATA.
491 tristate "VITESSE VSC-7174 / INTEL 31244 SATA support"
494 This option enables support for Vitesse VSC7174 and Intel 31244 Serial ATA.
498 comment "PATA SFF controllers with BMDMA"
501 tristate "ALi PATA support"
504 This option enables support for the ALi ATA interfaces
505 found on the many ALi chipsets.
510 tristate "AMD/NVidia PATA support"
513 This option enables support for the AMD and NVidia PATA
514 interfaces found on the chipsets for Athlon/Athlon64.
518 config PATA_ARASAN_CF
519 tristate "ARASAN CompactFlash PATA Controller Support"
520 depends on ARCH_SPEAR13XX || COMPILE_TEST
521 depends on DMADEVICES
524 Say Y here to support the ARASAN CompactFlash PATA controller
527 tristate "ARTOP 6210/6260 PATA support"
530 This option enables support for ARTOP PATA controllers.
535 tristate "ATI PATA support"
538 This option enables support for the ATI ATA interfaces
539 found on the many ATI chipsets.
544 tristate "ARTOP/Acard ATP867X PATA support"
547 This option enables support for ARTOP/Acard ATP867X PATA
553 tristate "Palmchip BK3710 PATA support"
554 depends on ARCH_DAVINCI
556 This option enables support for the integrated IDE controller on
562 tristate "CMD64x PATA support"
565 This option enables support for the CMD64x series chips
566 except for the CMD640.
571 tristate "CS5510/5520 PATA support"
572 depends on PCI && (X86_32 || COMPILE_TEST)
574 This option enables support for the Cyrix 5510/5520
575 companion chip used with the MediaGX/Geode processor family.
580 tristate "CS5530 PATA support"
581 depends on PCI && (X86_32 || COMPILE_TEST)
583 This option enables support for the Cyrix/NatSemi/AMD CS5530
584 companion chip used with the MediaGX/Geode processor family.
589 tristate "CS5535 PATA support (Experimental)"
590 depends on PCI && X86_32
592 This option enables support for the NatSemi/AMD CS5535
593 companion chip used with the Geode processor family.
598 tristate "CS5536 PATA support"
599 depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
601 This option enables support for the AMD CS5536
602 companion chip used with the Geode LX processor family.
607 tristate "Cypress CY82C693 PATA support (Very Experimental)"
610 This option enables support for the Cypress/Contaq CY82C693
611 chipset found in some Alpha systems
616 tristate "EFAR SLC90E66 support"
619 This option enables support for the EFAR SLC90E66
620 IDE controller found on some older machines.
625 tristate "Cirrus Logic EP93xx PATA support"
626 depends on ARCH_EP93XX
628 This option enables support for the PATA controller in
629 the Cirrus Logic EP9312 and EP9315 ARM CPU.
634 tristate "Faraday Technology FTIDE010 PATA support"
637 depends on SATA_GEMINI
639 This option enables support for the Faraday FTIDE010
640 PATA controller found in the Cortina Gemini SoCs.
645 tristate "HPT 366/368 PATA support"
648 This option enables support for the HPT 366 and 368
649 PATA controllers via the new ATA layer.
654 tristate "HPT 370/370A/371/372/374/302 PATA support"
657 This option enables support for the majority of the later HPT
658 PATA controllers via the new ATA layer.
663 tristate "HPT 371N/372N/302N PATA support"
666 This option enables support for the N variant HPT PATA
667 controllers via the new ATA layer.
672 tristate "HPT 343/363 PATA support"
675 This option enables support for the HPT 343/363
676 PATA controllers via the new ATA layer
680 config PATA_HPT3X3_DMA
681 bool "HPT 343/363 DMA support"
682 depends on PATA_HPT3X3
684 This option enables DMA support for the HPT343/363
685 controllers. Enable with care as there are still some
686 problems with DMA on this chipset.
689 tristate "Acorn ICS PATA support"
690 depends on ARM && ARCH_ACORN
692 On Acorn systems, say Y here if you wish to use the ICS PATA
693 interface card. This is not required for ICS partition support.
694 If you are unsure, say N to this.
697 tristate "PATA support for Freescale iMX"
700 This option enables support for the PATA host available on Freescale
706 tristate "IT8213 PATA support (Experimental)"
709 This option enables support for the ITE 821 PATA
710 controllers via the new ATA layer.
715 tristate "IT8211/2 PATA support"
718 This option enables support for the ITE 8211 and 8212
719 PATA controllers via the new ATA layer, including RAID
725 tristate "JMicron PATA support"
728 Enable support for the JMicron IDE controller, via the new
734 tristate "Apple PowerMac/PowerBook internal 'MacIO' IDE"
737 Most IDE capable PowerMacs have IDE busses driven by a variant
738 of this controller which is part of the Apple chipset used on
739 most PowerMac models. Some models have multiple busses using
740 different chipsets, though generally, MacIO is one of them.
743 tristate "Marvell PATA support via legacy mode"
746 This option enables limited support for the Marvell 88SE61xx ATA
747 controllers. If you wish to use only the SATA ports then select
748 the AHCI driver alone. If you wish to the use the PATA port or
749 both SATA and PATA include this driver.
754 tristate "Freescale MPC52xx SoC internal IDE"
755 depends on PPC_MPC52xx && PPC_BESTCOMM
756 select PPC_BESTCOMM_ATA
758 This option enables support for integrated IDE controller
759 of the Freescale MPC52xx SoC.
764 tristate "NETCELL Revolution RAID support"
767 This option enables support for the Netcell Revolution RAID
773 tristate "Ninja32/Delkin Cardbus ATA support"
776 This option enables support for the Ninja32, Delkin and
777 possibly other brands of Cardbus ATA adapter
782 tristate "Nat Semi NS87415 PATA support"
785 This option enables support for the National Semiconductor
786 NS87415 PCI-IDE controller.
791 tristate "Intel PATA old PIIX support"
794 This option enables support for early PIIX PATA support.
799 tristate "OPTI FireStar PATA support (Very Experimental)"
802 This option enables DMA/PIO support for the later OPTi
803 controllers found on some old motherboards and in some
809 tristate "Promise PATA 2027x support"
812 This option enables support for Promise PATA pdc20268 to pdc20277 host adapters.
817 tristate "Older Promise PATA controller support"
820 This option enables support for the Promise 20246, 20262, 20263,
821 20265 and 20267 adapters.
826 tristate "RADISYS 82600 PATA support (Experimental)"
829 This option enables support for the RADISYS 82600
830 PATA controllers via the new ATA layer
835 tristate "RDC PATA support"
838 This option enables basic support for the later RDC PATA controllers
839 controllers via the new ATA layer. For the RDC 1010, you need to
840 enable the IT821X driver instead.
845 tristate "SC1200 PATA support"
846 depends on PCI && (X86_32 || COMPILE_TEST)
848 This option enables support for the NatSemi/AMD SC1200 SoC
849 companion chip used with the Geode processor family.
854 tristate "Intel SCH PATA support"
857 This option enables support for Intel SCH PATA on the Intel
858 SCH (US15W, US15L, UL11L) series host controllers.
862 config PATA_SERVERWORKS
863 tristate "SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support"
866 This option enables support for the Serverworks OSB4/CSB5/CSB6 and
867 HT1000 PATA controllers, via the new ATA layer.
872 tristate "CMD / Silicon Image 680 PATA support"
875 This option enables support for CMD / Silicon Image 680 PATA.
880 tristate "SiS PATA support"
883 This option enables support for SiS PATA controllers
888 tristate "Toshiba Piccolo support (Experimental)"
891 Support for the Toshiba Piccolo controllers. Currently only the
892 primary channel is supported by this driver.
897 tristate "Compaq Triflex PATA support"
900 Enable support for the Compaq 'Triflex' IDE controller as found
901 on many Compaq Pentium-Pro systems, via the new ATA layer.
906 tristate "VIA PATA support"
909 This option enables support for the VIA PATA interfaces
910 found on the many VIA chipsets.
915 tristate "PXA DMA-capable PATA support"
918 This option enables support for harddrive attached to PXA CPU's bus.
920 NOTE: This driver utilizes PXA DMA controller, in case your hardware
921 is not capable of doing MWDMA, use pata_platform instead.
926 tristate "Winbond SL82C105 PATA support"
929 This option enables support for SL82C105 PATA devices found in the
930 Netwinder and some other systems
936 comment "PIO-only SFF controllers"
938 config PATA_CMD640_PCI
939 tristate "CMD640 PCI PATA support (Experimental)"
942 This option enables support for the CMD640 PCI IDE
943 interface chip. Only the primary channel is currently
949 tristate "Atari Falcon PATA support"
950 depends on M68K && ATARI
952 This option enables support for the on-board IDE
953 interface on the Atari Falcon.
958 tristate "Amiga Gayle PATA support"
959 depends on M68K && AMIGA
961 This option enables support for the on-board IDE
962 interfaces on some Amiga models (A600, A1200,
963 A4000 and A4000T) and also for IDE interfaces on
964 the Zorro expansion bus (M-Tech E-Matrix 530
970 tristate "ISA Plug and Play PATA support"
973 This option enables support for ISA plug & play ATA
974 controllers such as those found on old soundcards.
978 config PATA_IXP4XX_CF
979 tristate "IXP4XX Compact Flash support"
980 depends on ARCH_IXP4XX
982 This option enables support for a Compact Flash connected on
983 the ixp4xx expansion bus. This driver had been written for
984 Loft/Avila boards in mind but can work with others.
989 tristate "Intel PATA MPIIX support"
992 This option enables support for MPIIX PATA support.
997 tristate "Nat Semi NS87410 PATA support"
1000 This option enables support for the National Semiconductor
1001 NS87410 PCI-IDE controller.
1006 tristate "OPTI621/6215 PATA support (Very Experimental)"
1009 This option enables full PIO support for the early Opti ATA
1010 controllers found on some old motherboards.
1015 tristate "Palm LifeDrive PATA support"
1016 depends on MACH_PALMLD
1018 This option enables support for Palm LifeDrive's internal ATA
1019 port via the new ATA layer.
1024 tristate "PCMCIA PATA support"
1027 This option enables support for PCMCIA ATA interfaces, including
1028 compact flash card adapters via the new ATA layer.
1032 config PATA_PLATFORM
1033 tristate "Generic platform device PATA support"
1034 depends on EXPERT || PPC || HAVE_PATA_PLATFORM
1036 This option enables support for generic directly connected ATA
1037 devices commonly found on embedded systems.
1041 config PATA_OF_PLATFORM
1042 tristate "OpenFirmware platform device PATA support"
1043 depends on PATA_PLATFORM && OF
1045 This option enables support for generic directly connected ATA
1046 devices commonly found on embedded systems with OpenFirmware
1052 tristate "QDI VLB PATA support"
1056 Support for QDI 6500 and 6580 PATA controllers on VESA local bus.
1059 tristate "RouterBoard 532 PATA CompactFlash support"
1060 depends on MIKROTIK_RB532
1062 This option enables support for the RouterBoard 532
1063 PATA CompactFlash controller.
1068 tristate "PC Tech RZ1000 PATA support"
1071 This option enables basic support for the PC Tech RZ1000/1
1072 PATA controllers via the new ATA layer
1076 config PATA_SAMSUNG_CF
1077 tristate "Samsung SoC PATA support"
1078 depends on SAMSUNG_DEV_IDE
1080 This option enables basic support for Samsung's S3C/S5P board
1081 PATA controllers via the new ATA layer
1085 config PATA_WINBOND_VLB
1086 tristate "Winbond W83759A VLB PATA support (Experimental)"
1090 Support for the Winbond W83759A controller on Vesa Local Bus
1093 comment "Generic fallback / legacy drivers"
1096 tristate "ACPI firmware driver for PATA"
1097 depends on ATA_ACPI && ATA_BMDMA
1099 This option enables an ACPI method driver which drives
1100 motherboard PATA controller interfaces through the ACPI
1101 firmware in the BIOS. This driver can sometimes handle
1102 otherwise unsupported hardware.
1105 tristate "Generic ATA support"
1106 depends on PCI && ATA_BMDMA
1108 This option enables support for generic BIOS configured
1109 ATA controllers via the new ATA layer
1114 tristate "Legacy ISA PATA support (Experimental)"
1115 depends on (ISA || PCI)
1117 This option enables support for ISA/VLB/PCI bus legacy PATA
1118 ports and allows them to be accessed via the new ATA layer.