pacpi_discover_modes(9)
okay bestie, welcome to the Kernel API Manual glow-up for pacpi_discover_modes(9) β manual name folded in right at the top so we donβt have to do the boring header-copy thing π
β¨ NAME β¨
pacpi_discover_modes β filter non ACPI modes
π¦ SYNOPSIS π¦
unsigned long pacpi_discover_modes (struct ata_port *ap , struct ata_device *adev );
π ARGUMENTS π
apβ ATA port. literally the port in question, bestie.adevβ ATA device. the device weβre checking out.
π DESCRIPTION π
okay so what this does: try the modes available and see which ones the ACPI method will set up sensibly. from this we get a mask of ACPI modes we can use. no cap, thatβs the whole vibe check β¨
π SEE ALSO π
Kernel file ./drivers/ata/pata_acpi.c β plus these related besties:
pacpi_pre_reset(9)pacpi_cable_detect(9)pacpi_mode_filter(9)pacpi_set_piomode(9)pacpi_set_dmamode(9)pacpi_qc_issue(9)pacpi_port_start(9)pacpi_init_one(9)
mwah π cute little sign-off: source ./drivers/ata, dated October 2026, and the page is literally pacpi_discover_modes(9). periodt π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms