Changeset 9c7ed9c in mainline for uspace/lib/usbhost/include/usb/host/hcd.h
- Timestamp:
- 2012-12-16T21:42:20Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 21be46a
- Parents:
- 5994cc3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/hcd.h
r5994cc3 r9c7ed9c 38 38 39 39 #include <assert.h> 40 #include <adt/list.h> 40 41 #include <usbhc_iface.h> 41 42 … … 56 57 /** Endpoint manager. */ 57 58 usb_endpoint_manager_t ep_manager; 59 /** Added devices */ 60 list_t devices; 58 61 59 62 /** Device specific driver data. */ … … 80 83 usb_device_manager_init(&hcd->dev_manager, max_speed); 81 84 usb_endpoint_manager_init(&hcd->ep_manager, bandwidth, bw_count); 85 list_initialize(&hcd->devices); 86 82 87 hcd->private_data = NULL; 83 88 hcd->schedule = NULL; … … 110 115 } 111 116 117 118 int hcd_add_device(hcd_t *instance, ddf_dev_t *parent, 119 usb_address_t address, usb_speed_t speed, const char *name, 120 const match_id_list_t *mids); 121 112 122 int hcd_setup_device(ddf_dev_t *device); 113 123 int hcd_setup_hub(hcd_t *instance, usb_address_t *address, ddf_dev_t *dev);
Note:
See TracChangeset
for help on using the changeset viewer.