USB_REGISTER

Section: (9)
Updated: 07 August 2003
Index Return to Main Contents

 

NAME

usb_register - register a USB driver  

SYNOPSIS

int usb_register (struct usb_driver * new_driver);  

ARGUMENTS

new_driver
USB operations for the driver
 

DESCRIPTION

Registers a USB driver with the USB core. The list of unattached interfaces will be rescanned whenever a new driver is added, allowing the new driver to attach to any recognized devices. Returns a negative error code on failure and 0 on success.  

NOTE

if you want your driver to use the USB major number, you must call usb_register_dev to enable that functionality. This function no longer takes care of that.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
NOTE
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 09:53:54 GMT, April 09, 2004