ata_dev_pair(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ata_dev_pair(9) β€” Kernel API Manual πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one is short and sweet, no cap. it’s giving β€œtiny function, very specific job” energy πŸŽ€


✨ NAME ✨

ata_dev_pair β€” return other device on cable


πŸ’– SYNOPSIS πŸ’–

struct ata_device * ata_dev_pair (struct ata_device *adev );

that signature is literally exact, so don’t come for me about the spacing πŸ’…


🌸 ARGUMENTS 🌸

  • adev β€” device

like, that’s the device you’re handing over. main character argument energy 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so you call this to obtain the other device on the same cable. if none is present, NULL is returned. that’s the whole vibe check 😭✨


🫢 SEE ALSO 🫢

Kernel file ./drivers/ata/libata-core.c β€” and the whole function squad, in the original order:


okay that’s the whole page, bestie β€” source/version vibes: ./drivers/ata; date: October 2026; page: ata_dev_pair(9) β€” byeee πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from