.\" 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 "IDE_READ_SETTING" "" "06 October 2005" "" ""
.SH NAME
ide_read_setting \- read an IDE setting
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ide_read_setting (ide_drive_t * \fIdrive\fB, ide_settings_t * \fIsetting\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrive\fB\fR
drive to read from
.TP
\fB\fIsetting\fB\fR
drive setting
.SH "DESCRIPTION"
.PP
Read a drive setting and return the value. The caller
must hold the ide_setting_sem when making this call.
.SH "BUGS"
.PP
the data return and error are the same return value
so an error -EINVAL and true return of the same value cannot
be told apart