OCP_FIND_DEVICE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ocp_find_device - Find a device by function & index  

SYNOPSIS

"SYNOPSIS"

struct ocp_device * ocp_find_device (unsigned int vendor, unsigned int function, int index);  

ARGUMENTS

vendor
vendor ID of the device (or OCP_ANY_ID)
function
function code of the device (or OCP_ANY_ID)
index
-- undescribed --
 

DESCRIPTION

This function allows a lookup of a given function by it's index, it's typically used to find the MAL or ZMII associated with an EMAC or similar horrors. You can pass vendor, though you usually want OCP_ANY_ID there...


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:34 GMT, October 09, 2005