.\" 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_DEV" "" "06 October 2005" "" ""
.SH NAME
ocp_get_dev \- get ocp driver pointer for ocp device and instance of it
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct ocp_device * ocp_get_dev (unsigned int \fIdevice\fB, int \fIdev_num\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdevice\fB\fR
OCP device such as PCI, GPT, UART, OPB, IIC, GPIO, EMAC, ZMII
.TP
\fB\fIdev_num\fB\fR
ocp device number whos paddr you want
.SH "DESCRIPTION"
.PP
The routine returns ocp device pointer
in list based on device and instance of that device