rdc_init_one(9)
π
rdc_init_one(9) β Kernel API Manual π
okay so bestie, this is the Kernel API Manual page for rdc_init_one, and itβs literally about registering a PIIX ATA PCI device with kernel services. iconic behavior, no cap. π
πΈ NAME πΈ
rdc_init_one β Register PIIX ATA PCI device with kernel services.
β¨ SYNOPSIS β¨
int rdc_init_one (struct pci_dev *pdev , const struct pci_device_id *ent
);
π«Ά ARGUMENTS π«Ά
pdevβ the PCI device to register. this is the main character device bestie πentβ entry inrdc_pci_tblmatching withpdev. yes, theyβre a matched set, we love that for them π¦
π§ DESCRIPTION π§
Called from kernel PCI layer. We probe for combined mode (sigh), and then hand over control to libata, for it to do the rest.
LOCKING: Inherited from PCI layer (may sleep). so yeah, it may sleep β noted, bestie π
β RETURN β
Zero on success, or -ERRNO value.
π¦ SEE ALSO π¦
Kernel file ./drivers/ata/pata_rdc.c, rdc_pata_cable_detect(9), rdc_pata_prereset(9), rdc_set_piomode(9), and rdc_set_dmamode(9).
and thatβs the whole vibe check, bestie π this Kernel API Manual page is from ./drivers/ata, dated October 2026. slay, go register some devices, periodt. πβ¨
π¦ 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