ata_dev_classify(9) centos man page | unix.com

Man Page: ata_dev_classify

Operating Environment: centos

Section: 9

ATA_DEV_CLASSIFY(9)						  libata Library					       ATA_DEV_CLASSIFY(9)

NAME
ata_dev_classify - determine device type based on ATA-spec signature
SYNOPSIS
unsigned int ata_dev_classify(const struct ata_taskfile * tf);
ARGUMENTS
tf ATA taskfile register set for device to be identified
DESCRIPTION
Determine from taskfile register contents whether a device is ATA or ATAPI, as per "Signature and persistence" section of ATA/PI spec (volume 1, sect 5.14).
LOCKING
None.
RETURNS
Device type, ATA_DEV_ATA, ATA_DEV_ATAPI, ATA_DEV_PMP or ATA_DEV_UNKNOWN the event of failure.
AUTHOR
Jeff Garzik Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 ATA_DEV_CLASSIFY(9)
Related Man Pages
sg_sat_identify(8) - suse
sg_scan(8) - suse
atapi_ide(7) - osf1
hv_ata_pci_disengage(4) - freebsd
siis(4) - centos
Similar Topics in the Unix Linux Community
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
CentOS7 restoring file capabilities
Controlling user input
Please Welcome Dave Munro to the Moderator Team!