ata_tdev_add(9)
β¨ NAME β¨
okay so bestie, welcome to the ata_tdev_add(9) page from the Kernel API Manual β this one is all about ata_tdev_add, which does exactly what it says on the tin: it initializes an ATA transport device. π
πΈ SYNOPSIS πΈ
int ata_tdev_add (struct ata_device *ata_dev );
π ARGUMENTS π
ata_devβ thestruct ata_devicethat owns the transport device you're adding, bestie. That's the whole vibe.
π DESCRIPTION π
So like, this function initializes an ATA transport device for sysfs. It gets added in the device tree below the ATA link device it belongs to. Slay. π
It returns 0 on success and a negative error code on error. Periodt. β¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/ata/libata-transport.c ata_is_port(9)ata_tport_delete(9)ata_port_classify(9)ata_is_ata_dev(9)ata_tdev_free(9)ata_tdev_delete(9)ata_is_link(9)ata_tlink_delete(9)ata_tlink_add(9)
that's the whole page, bestie π«Ά source/version: ./drivers/ata, date: October 2026, and yes the title is still ata_tdev_add(9) β iconic. π
π¦ 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