.\" 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_ID_STRING" "9" "09 October 2005" "" ""
.SH NAME
ata_dev_id_string \- Convert IDENTIFY DEVICE page into string
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void ata_dev_id_string (u16 * \fIid\fB, unsigned char * \fIs\fB, unsigned int \fIofs\fB, unsigned int \fIlen\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIid\fB\fR
IDENTIFY DEVICE results we will examine
.TP
\fB\fIs\fB\fR
string into which data is output
.TP
\fB\fIofs\fB\fR
offset into identify device page
.TP
\fB\fIlen\fB\fR
length of string to return. must be an even number.
.SH "DESCRIPTION"
.PP
The strings in the IDENTIFY DEVICE page are broken up into
16-bit chunks. Run through the string, and output each
8-bit chunk linearly, regardless of platform.
.SH "LOCKING"
.PP
caller.