usb_find_interface

Langue: en

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

NAME

usb_find_interface - find usb_interface pointer for driver and device

SYNOPSIS

struct usb_interface * usb_find_interface(struct usb_driver * drv, int minor);

ARGUMENTS

drv

the driver whose current configuration is considered

minor

the minor number of the desired device

DESCRIPTION

This walks the driver device list and returns a pointer to the interface with the matching minor. Note, this only works for devices that share the USB major number.