Changeset 20eaa82 in mainline for uspace/lib/usbhost/include/usb/host/ddf_helpers.h
- Timestamp:
- 2017-10-15T13:44:39Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2770b66
- Parents:
- 867b375
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/ddf_helpers.h
r867b375 r20eaa82 59 59 typedef struct { 60 60 hcd_ops_t ops; 61 usb_speed_t hc_speed;62 61 const char *name; 63 62 … … 83 82 int hcd_setup_virtual_root_hub(hcd_t *, ddf_dev_t *); 84 83 84 device_t *hcd_ddf_device_create(ddf_dev_t *, size_t); 85 void hcd_ddf_device_destroy(device_t *); 86 int hcd_ddf_device_explore(hcd_t *, device_t *); 87 85 88 hcd_t *dev_to_hcd(ddf_dev_t *dev); 86 89 … … 93 96 void ddf_hcd_gen_irq_handler(ipc_callid_t iid, ipc_call_t *call, ddf_dev_t *dev); 94 97 95 /* For xHCI, we need to drive the roothub without roothub having assigned an96 * address. Thus we cannot create function for it, and we have to carry the97 * usb_dev_t somewhere.98 *99 * This is sort of hacky, but at least does not expose the internals of ddf_helpers.100 */101 typedef struct hcd_roothub hcd_roothub_t;102 103 hcd_roothub_t *hcd_roothub_create(hcd_t *, ddf_dev_t *, usb_speed_t);104 int hcd_roothub_new_device(hcd_roothub_t *, unsigned port);105 106 98 #endif 107 99
Note:
See TracChangeset
for help on using the changeset viewer.