ata_scsi_sdev_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is ata_scsi_sdev_init(9) from the Kernel API Manual πŸ’– and it is giving β€œearly setup” energy ✨

ata_scsi_sdev_init β€” Early setup of SCSI device


🌸 SYNOPSIS 🌸

int ata_scsi_sdev_init (struct scsi_device *sdev );

like, yes, it returns an int and takes one pointer, slay 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • sdev β€” SCSI device to examine πŸ‘€

πŸ¦‹ DESCRIPTION πŸ¦‹

so the lore is this: it gets called from scsi_alloc_sdev when the scsi device associated with an ATA device is scanned on a port. that is the moment, periodt πŸ’…

LOCKING: Defined by SCSI layer. We don't really care. that is literally the whole note, no cap πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/ata/libata-scsi.c πŸ“


mwah πŸ’‹ β€” source/version ./drivers/ata, date October 2026, all for ata_scsi_sdev_init(9). byeee 🫢✨

πŸ“¦ where this page comes from