acpi_pci_detect_ejectable(9)
π acpi_pci_detect_ejectable
okay so bestie, we're in the Kernel API Manual today and this one's a little function from the ACPI/PCI corner of the kernel β¨
β¨ NAME β¨
acpi_pci_detect_ejectable β literally just checks if the PCI bus has ejectable slots π°
πΈ SYNOPSIS πΈ
int acpi_pci_detect_ejectable (acpi_handle handle );
π ARGUMENTS π
handleβ the handle of the PCI bus we're scanning, no cap π«Ά that's the whole vibe, it just tells us which bus to look at
π¦ DESCRIPTION π¦
Returns 1 if the PCI bus has ACPI based ejectable slots π
and 0 otherwise.
that's it. that's the function. it's giving "simple and iconic" π
β SEE ALSO β
- Kernel file
./drivers/pci/hotplug/acpi_pcihp.c acpi_get_hp_hw_control_from_firmware(9)acpi_pci_check_ejectable(9)
and that's the whole page, bestie, we ate and left no crumbs π this one lives in ./drivers/pci/hotplug, dated October 2026, brought to you by the Kernel API Manual itself π§π
π¦ 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