ata_port_classify(9)
πΈ ata_port_classify(9) β a little Kernel API Manual moment β¨
okay bestie, welcome to the ata_port_classify(9) page from the Kernel API Manual π this one is short, sweet, and lowkey important, so let's get into it.
π NAME π
ata_port_classify β determine device type based on ATA-spec signature
β¨ SYNOPSIS β¨
here's the whole signature, copy it exactly bestie, no cap:
unsigned int ata_port_classify (struct ata_port *ap , const struct ata_taskfile *tf );
π ARGUMENTS π
apβ ATA port device on which the classification should be runtfβ ATA taskfile register set for device to be identified
π¦ DESCRIPTION π¦
it's literally a wrapper around ata_dev_classify to provide additional logging. that's the whole vibe π
π RETURN π
it returns the device type: ATA_DEV_ATA, ATA_DEV_ATAPI, ATA_DEV_PMP, ATA_DEV_ZAC, or ATA_DEV_UNKNOWN in the event of failure π«Ά
π SEE ALSO π
Kernel file: ./drivers/ata/libata-transport.c
ata_is_port(9)ata_tport_delete(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)
okay that's the whole page π source/version: ./drivers/ata Β· date: October 2026 Β· page: ata_port_classify(9) β mwah, bye bestie! π«Άπ
π¦ 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