ata_pci_remove_one(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ata_pci_remove_one(9) πŸ’–

Kernel API Manual bestie check-in: we are literally reading the page for a PCI device-removal callback, and it's short, so hydrate and let's go. πŸ’…

🌸 NAME 🌸

ata_pci_remove_one β€” PCI layer callback for device removal

✨ SYNOPSIS ✨

void ata_pci_remove_one (struct pci_dev *pdev );

πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” PCI device that was removed

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so the PCI layer is telling libata, via this hook, that a hot-unplug or module unload event has occurred. The move is: detach all ports. Resource release is handled via devres.

LOCKING: Inherited from PCI layer (may sleep).

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/ata/libata-core.c is the main-character source. Then the whole libata group chat:

That's the whole page, bestie: it lives in ./drivers/ata, it's dated October 2026, and it's literally called ata_pci_remove_one(9) β€” periodt. 🫢

πŸ“¦ where this page comes from