ata_pci_sff_activate_host(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ata_pci_sff_activate_host(9) ✨

from the Kernel API Manual β€” okay so bestie, this page is all about starting an SFF ATA host, requesting its IRQ(s), and registering it πŸ’… no cap.

πŸ’– NAME πŸ’–

ata_pci_sff_activate_host β€” start SFF host, request IRQ and register it.

✨ SYNOPSIS ✨

int ata_pci_sff_activate_host (struct ata_host *host , irq_handler_t
irq_handler , const struct scsi_host_template *sht );

πŸŽ€ ARGUMENTS πŸŽ€

  • host β€” target SFF ATA host 🎯
  • irq_handler β€” the irq_handler used when requesting IRQ(s) ⚑
  • sht β€” the scsi_host_template to use when registering the host πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this is literally the counterpart of ata_host_activate for SFF ATA hosts. the way it needs its own separate helper? iconic, honestly. and it's necessary because SFF hosts use two separate interrupts in legacy mode 🫢

πŸ”’ LOCKING

inherited from the calling layer (may sleep) 😴

🌸 RETURN 🌸

0 on success, -errno otherwise. slay ✨

🌈 SEE ALSO 🌈

the whole libata-sff friend group is here, no cap:


mwah πŸ’‹ that's the whole page! source/version: ./drivers/ata; date: October 2026; page: ata_pci_sff_activate_host(9). go forth and activate hosts responsibly 🫢✨

πŸ“¦ where this page comes from