drivers/ata/Kconfig

Source file repositories/reference/linux-study-clean/drivers/ata/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/ata/Kconfig
Extension
[no extension]
Size
30832 bytes
Lines
1195
Domain
Driver Families
Bucket
drivers/ata
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0
#
# SATA/PATA driver configuration
#

config HAVE_PATA_PLATFORM
	bool
	help
	  This is an internal configuration node for any machine that
	  uses pata-platform driver to enable the relevant driver in the
	  configuration structure without having to submit endless patches
	  to update the PATA_PLATFORM entry.

menuconfig ATA
	tristate "Serial ATA and Parallel ATA drivers (libata)"
	depends on HAS_IOMEM
	depends on BLOCK
	select SCSI
	select GLOB
	help
	  If you want to use an ATA hard disk, ATA tape drive, ATA CD-ROM or
	  any other ATA device under Linux, say Y and make sure that you know
	  the name of your ATA host adapter (the card inside your computer
	  that "speaks" the ATA protocol, also called ATA controller),
	  because you will be asked for it.

	  NOTE: ATA enables basic SCSI support; *however*,
	  'SCSI disk support', 'SCSI tape support', or
	  'SCSI CDROM support' may also be needed,
	  depending on your hardware configuration.

if ATA

config ATA_NONSTANDARD
       bool

config SATA_HOST
	bool

config PATA_TIMINGS
	bool

config ATA_VERBOSE_ERROR
	bool "Verbose ATA error reporting"
	default y
	help
	  This option adds parsing of ATA command descriptions and error bits
	  in libata kernel output, making it easier to interpret.
	  This option will enlarge the kernel by approx. 6KB. Disable it only
	  if kernel size is more important than ease of debugging.

	  If unsure, say Y.

config ATA_FORCE
	bool "\"libata.force=\" kernel parameter support" if EXPERT
	default y
	help
	  This option adds support for "libata.force=" kernel parameter for
	  forcing configuration settings.

	  For further information, please read
	  <file:Documentation/admin-guide/kernel-parameters.txt>.

	  This option will enlarge the kernel by approx. 3KB. Disable it if
	  kernel size is more important than ability to override the default
	  configuration settings.

	  If unsure, say Y.

config ATA_ACPI

Annotation

Implementation Notes