pacpi_init_one(9)
π NAME π
pacpi_init_one β register ACPI ATA PCI device with kernel services. Yep, that's the whole flex, bestie. This page comes straight from the Kernel API Manual π¦β¨
β¨ SYNOPSIS β¨
Okay so the signature is literally giving:
int pacpi_init_one (struct pci_dev *pdev , const struct pci_device_id
*id );
π ARGUMENTS π
Two args, no cap:
pdevβ PCI device to register π«Άidβ PCI device ID π
πΈ DESCRIPTION πΈ
Called from kernel PCI layer. That's the vibe π₯
LOCKING: Inherited from PCI layer (may sleep). So yeah, it may sleep β noted, bestie π΄π
β RETURN β
Zero on success, or -ERRNO value. Slay when it's zero, cry when it's negative π
π¦ SEE ALSO π¦
Go peek at these, iykyk:
- Kernel file
./drivers/ata/pata_acpi.c pacpi_pre_reset(9)pacpi_cable_detect(9)pacpi_discover_modes(9)pacpi_mode_filter(9)pacpi_set_piomode(9)pacpi_set_dmamode(9)pacpi_qc_issue(9)pacpi_port_start(9)
okay that's the page, bestie π«Άπ β it lives at ./drivers/ata, it's stamped October 2026, and the page name is pacpi_init_one(9). Mwah πβ¨
π¦ 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