.\" 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 "OCP_GET_ONE_DEVICE" "9" "09 October 2005" "" ""
.SH NAME
ocp_get_one_device \- Find a def by function & index
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct ocp_def * ocp_get_one_device (unsigned int \fIvendor\fB, unsigned int \fIfunction\fB, int \fIindex\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIvendor\fB\fR
vendor ID of the device (or OCP_ANY_ID)
.TP
\fB\fIfunction\fB\fR
function code of the device (or OCP_ANY_ID)
.TP
\fB\fIindex\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
This function allows a lookup of a given ocp_def by it's
vendor, function, and index. The main purpose for is to
allow modification of the def before binding to the driver