Rechercher une page de manuel
ata_dev_classify
Langue: en
Version: October 2010 (fedora - 01/12/10)
Section: 9 (Appels noyau Linux)
NAME
ata_dev_classify - determine device type based on ATA-spec signatureSYNOPSIS
- 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 lqSignature and persistencerq 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
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre