disable_slot(9)
π disable_slot β the manual page, but make it make sense
okay so bestie, you're looking at the disable_slot(9) page from the Kernel API Manual, and honestly? it's a whole mood. tiny function, big job. let's get into it π
β¨ NAME β¨
disable_slot β literally just: disable a slot. that's the whole vibe. no cap. π
π¦ SYNOPSIS π¦
void disable_slot (struct acpiphp_slot *slot );
it returns nothing (it's void, she's giving "i do the work and i don't report back"), and it takes exactly one thing. icon behavior honestly.
πΈ ARGUMENTS πΈ
slotβ an ACPI PHP slot. yes, that's the whole description. that's all the page gives us. a slot, of the ACPI PHP variety. take it, it's yours π«Ά
β SEE ALSO β
okay this is where the page goes full main character energy and lists, like, EVERYONE. the kernel file first:
- Kernel file
./drivers/pci/hotplug/acpiphp_glue.c
and then the whole group chat, in this exact order, no skipping:
acpiphp_init_context(9)acpiphp_get_context(9)acpiphp_put_context(9)acpiphp_post_dock_fixup(9)acpiphp_add_context(9)acpiphp_max_busnr(9)enable_slot(9)get_slot_status(9)trim_stale_devices(9)acpiphp_check_bridge(9)acpiphp_enumerate_slots(9)acpiphp_remove_slots(9)acpiphp_enable_slot(9)acpiphp_disable_and_eject_slot(9)
bestie note: enable_slot(9) is right there in the list and she is literally the opposite of this function. opposites attract, iykyk π
and that's the page!! short, sweet, and to the point β she doesn't overexplain, she just is. shoutout to ./drivers/pci/hotplug for being the source path, and the date on this one is October 2026, so likeβ¦ future icon behavior fr fr ππ
now go disable that slot. slay. ππ₯
π¦ 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