ata_is_port(9)
π ata_is_port(9) π
Okay bestie, welcome to the Kernel API Manual β¨ this little icon is ata_is_port, and it checks if a struct device represents a ATA port. Lowkey simple, highkey useful π
πΈ NAME πΈ
ata_is_port β check if a struct device represents a ATA port π«Ά
β¨ SYNOPSIS β¨
int ata_is_port (const struct device *dev );
π¦ ARGUMENTS π¦
devβ device to check π
π RETURN π
It returns 1 if the device represents a ATA Port, and 0 else β thatβs the whole return vibe, no cap β
π SEE ALSO π
The kernel file over here is ./drivers/ata/libata-transport.c, and the related besties are:
ata_tport_delete(9)ata_port_classify(9)ata_is_ata_dev(9)ata_tdev_free(9)ata_tdev_delete(9)ata_tdev_add(9)ata_is_link(9)ata_tlink_delete(9)ata_tlink_add(9)
Sending you off with the footer tea π source/version is ./drivers/ata, dated October 2026 β iconic, periodt π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms