.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "ATA_DEV_CLASSIFY" "9" "09 October 2005" "" ""
.SH NAME
ata_dev_classify \- determine device type based on ATA-spec signature
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
unsigned int ata_dev_classify (struct ata_taskfile * \fItf\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fItf\fB\fR
ATA taskfile register set for device to be identified
.SH "DESCRIPTION"
.PP
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).
.SH "LOCKING"
.PP
None.
.SH "RETURNS"
.PP
Device type, ATA_DEV_ATA, ATA_DEV_ATAPI, or ATA_DEV_UNKNOWN
the event of failure.