.\" 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_REMOVE_ONE_DEVICE" "9" "09 October 2005" "" ""
.SH NAME
ocp_remove_one_device \- Remove a device by function & index
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ocp_remove_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 removal of a given function by its
index. It may only be called before \fBocp_driver_init\fR
and will return an error otherwise.