ata_scsi_pass_thru(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this is ata_scsi_pass_thru(9) from the Kernel API Manual πŸ’– and she is literally here to convert an ATA pass-thru CDB into a taskfile. No cap.

✨ NAME ✨

ata_scsi_pass_thru β€” convert ATA pass-thru CDB to taskfile. That’s the whole name vibe, periodt.

🌸 SYNOPSIS 🌸

unsigned int ata_scsi_pass_thru (struct ata_queued_cmd *qc );

πŸŽ€ ARGUMENTS πŸŽ€

  • qc β€” the command structure that’s getting initialized. That’s it, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the tea: this handles either 12, 16, or 32-byte versions of the CDB. All three sizes are in the group chat. πŸ’…

πŸ”₯ RETURN πŸ”₯

Zero on success, non-zero on failure. Short and iconic.

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file is right here, bestie: ./drivers/ata/libata-scsi.c


Signed off from the ./drivers/ata source/version, dated October 2026 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from