USB_ALLOC_DEV

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

 

NAME

usb_alloc_dev - usb device constructor (usbcore-internal)  

SYNOPSIS

"SYNOPSIS"

struct usb_device * usb_alloc_dev (struct usb_device * parent, struct usb_bus * bus, unsigned port1);  

ARGUMENTS

parent
hub to which device is connected; null to allocate a root hub
bus
bus used to access the device
port1
one-based index of port; ignored for root hubs
 

CONTEXT

!in_interrupt ()  

DESCRIPTION

Only hub drivers (including virtual root hub drivers for host controllers) should ever call this.

This call may not be used in a non-sleeping context.


 

Index

NAME
SYNOPSIS
ARGUMENTS
CONTEXT
DESCRIPTION

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