|USB_EP_XDESCR_FILL(9F)||Kernel Functions for Drivers||USB_EP_XDESCR_FILL(9F)|
fill extended endpoint description from endpoint
version, dev_info_t *dip,
illumos DDI specific
function is used to fill in the members of the extended endpoint descriptor
ep_xdescr based on the endpoint descriptor data in
ep_data. Once filled in,
ep_xdescr can be used to open a pipe by calling
Prior to USB 3.0, only one descriptor, the usb_ep_descr(9S), was needed to describe an endpoint. However, with USB 3.0, additional companion descriptors have been added and are required to successfully open an endpoint. After calling this, all descriptors needed to successfully open a pipe will be placed into ep_xdescr and the endpoint data, ep_data, is no longer required.
Upon successful completion, the
usb_ep_xdescr_fill() function returns
Otherwise an error number is returned.
|August 7, 2016||OmniOS|