|
|
udi_bus_bind_req(3udi)
Request a binding to a bridge driver
#include <udi.h>void udi_bus_bind_req ( udi_bus_bind_cb_t *cb );ARGUMENTS cb is a pointer to a bus bind control block.
TARGET CHANNEL The target channel for this operation is the bind channel connecting a device driver with its parent bus bridge driver.
DESCRIPTION A device driver uses this operation to bind to its parent bus bridge driver.
The device driver must prepare for the udi_bus_bind_req operation by allocating a bus bind control block (calling udi_cb_alloc with a cb_idx corresponding to the UDI_BUS_BIND_CB_NUM control block type).
Next, the device driver sends the bus bind control block to the bridge driver with a udi_bus_bind_req operation.
REFERENCES udi_bus_bind_cb_t, udi_bus_bind_ack, udi_bus_unbind_req