ATA_DEV_CLASSIFY

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ata_dev_classify - determine device type based on ATA-spec signature  

SYNOPSIS

"SYNOPSIS"

unsigned int ata_dev_classify (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, or ATA_DEV_UNKNOWN the event of failure.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
LOCKING
RETURNS

This document was created by man2html, using the manual pages.
Time: 00:01:56 GMT, October 09, 2005