HCD_REGISTER_HC Adapter Device Driver ioctl Operation
Purpose
Registers the host controller with the Universal Serial Bus (USB) protocol driver.
Description
This ioctl command
is issued by the USB system driver (USBD) during the registration
of host controller with the USBD. During the processing of this ioctl operation,
the call vectors of the adapter device driver are registered with
USBD. After the call vectors are registered with the USBD, all further
communication between the USBD and the Host Controller Driver (HCD)
is handled by these call vectors.
Return values
The following return values are supported:
| Value | Description |
|---|---|
| 0 | Successful completion. |
| DEFAULT | Incorrect size of the call vector or incorrect version of the call vector data structure. |
| EBUSY | Adapter hardware is inaccessible. |
| EINVAL | Host controller is already registered with the USBD. |