Changeset 3b5d1535 in mainline for uspace/lib/usb/src/hub.c
- Timestamp:
- 2011-02-23T10:28:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eb48f61
- Parents:
- e936e8e (diff), eb1a2f4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hub.c
re936e8e r3b5d1535 39 39 #include <usbhc_iface.h> 40 40 #include <errno.h> 41 #include <assert.h> 41 42 42 43 /** Check that HC connection is alright. … … 172 173 * request or requests for descriptors when creating match ids). 173 174 */ 174 int usb_hc_new_device_wrapper(d evice_t *parent, usb_hc_connection_t *connection,175 int usb_hc_new_device_wrapper(ddf_dev_t *parent, usb_hc_connection_t *connection, 175 176 usb_speed_t dev_speed, 176 177 int (*enable_port)(int port_no, void *arg), int port_no, void *arg, 177 usb_address_t *assigned_address, devman_handle_t *assigned_handle) 178 usb_address_t *assigned_address, devman_handle_t *assigned_handle, 179 ddf_dev_ops_t *dev_ops, void *new_dev_data, ddf_fun_t **new_fun) 178 180 { 179 181 CHECK_CONNECTION(connection); … … 251 253 devman_handle_t child_handle; 252 254 rc = usb_device_register_child_in_devman(dev_addr, dev_conn.hc_handle, 253 parent, &child_handle); 255 parent, &child_handle, 256 dev_ops, new_dev_data, new_fun); 254 257 if (rc != EOK) { 255 258 rc = ESTALL;
Note:
See TracChangeset
for help on using the changeset viewer.