ata_acpi_on_disable(9)
π NAME π
ata_acpi_on_disable(9) from the Kernel API Manual is literally the ATA ACPI hook called when a device is disabled. Bestie, itβs giving kernel-hook main character energy, and weβre absolutely getting into it π
β¨
πΈ SYNOPSIS πΈ
void ata_acpi_on_disable (struct ata_device *dev );
π¦ ARGUMENTS π¦
devβ the target ATA device. Thatβs the one getting this whole hook situation, periodt π«Ά
β¨ DESCRIPTION β¨
This function is called when dev is about to be disabled. Thatβs the whole moment: dev is about to be disabled, and this hook is on the case ππ
LOCKING: EH context. Not me putting the locking note in a little spotlight, but it matters β EH context, bestie, keep it in mind π₯
π₯ SEE ALSO π₯
Kernel file ./drivers/ata/libata-acpi.c β yes, thatβs the source-file babe. The whole SEE ALSO friend group is:
ata_dev_acpi_handle(9)ata_acpi_handle_hotplug(9)ata_acpi_dev_manage_restart(9)ata_acpi_port_power_on(9)ata_acpi_dissociate(9)ata_acpi_gtm(9)ata_acpi_stm(9)ata_dev_get_GTF(9)ata_acpi_gtm_xfermask(9)ata_acpi_cbl_pata_type(9)ata_acpi_run_tf(9)ata_acpi_exec_tfs(9)ata_acpi_push_id(9)ata_acpi_on_resume(9)ata_acpi_set_state(9)ata_acpi_on_devcfg(9)
Mwah π β this page is from the Kernel API Manual, with source/version ./drivers/ata, dated October 2026. Go off, bestie ππ
π¦ 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