sis_init_one(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 in sis_pci_tbl that matches pdev; 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:


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