pacpi_discover_modes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:


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