sis_init_one(9)
β¨ NAME β¨
okay so bestie, welcome to sis_init_one(9) from the Kernel API Manual π. This function is literally here to register a SiS ATA PCI device with kernel services. Thatβs the whole name vibe, no cap β¨.
π¦ SYNOPSIS π¦
Hereβs the signature, bestie β copy it exactly or the compiler will give you the side-eye π:
int sis_init_one (struct pci_dev *pdev , const struct pci_device_id *ent
);
π ARGUMENTS π
pdevβ the PCI device to register, your main character for this call π«Άentβ the entry insis_pci_tblthat matchespdev; theyβre a matched set, iykyk π
π DESCRIPTION π
This gets called from the kernel PCI layer π. We probe for combined mode β yes, sigh π β and then hand over control to libata, for it to do the rest. Thatβs the plan, fr fr.
LOCKING: inherited from the PCI layer, and it may sleep π΄π€ β so donβt act surprised.
π₯ RETURN π₯
Zero on success, or a -ERRNO value π. Slay if itβs zero; weep if itβs negative.
π SEE ALSO π
Go read the kernel file ./drivers/ata/pata_sis.c and these absolute icons:
sis_old_port_base(9)sis_port_base(9)sis_133_cable_detect(9)sis_66_cable_detect(9)sis_pre_reset(9)sis_set_fifo(9)sis_old_set_piomode(9)sis_100_set_piomode(9)sis_133_set_piomode(9)sis_old_set_dmamode(9)sis_66_set_dmamode(9)sis_100_set_dmamode(9)sis_133_early_set_dmamode(9)sis_133_set_dmamode(9)sis_133_mode_filter(9)
okay bye bestie β this page is from ./drivers/ata, dated October 2026, and itβs all about sis_init_one(9) π
β¨.
π¦ 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