Changeset 013517b in mainline for uspace/drv
- Timestamp:
- 2011-10-12T20:23:23Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 32ec5671
- Parents:
- 162726b
- Location:
- uspace/drv/bus/usb
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhcirh/port.c
r162726b r013517b 261 261 ret = usb_hc_new_device_wrapper(port->rh, &port->hc_connection, 262 262 speed, uhci_port_reset_enable, port->number, port, 263 &port->attached_device.address, NULL, NULL, NULL,263 &port->attached_device.address, NULL, NULL, 264 264 &port->attached_device.fun); 265 265 } while (ret != EOK && ++count < 4); -
uspace/drv/bus/usb/usbhub/port.c
r162726b r013517b 423 423 &data->hub->connection, data->speed, 424 424 enable_port_callback, (int) data->port->port_number, 425 data->port, &new_address, NULL, 426 NULL, NULL, &child_fun); 425 data->port, &new_address, NULL, NULL, &child_fun); 427 426 428 427 if (rc != EOK) { -
uspace/drv/bus/usb/vhc/hub.c
r162726b r013517b 114 114 115 115 ddf_fun_t *hub_dev; 116 rc = usb_hc_new_device_wrapper(hc_dev->dev, &hc_conn, 117 USB_SPEED_FULL, 118 pretend_port_rest, 0, NULL, 119 NULL, NULL, &rh_ops, hc_dev, &hub_dev); 116 rc = usb_hc_new_device_wrapper(hc_dev->dev, &hc_conn, USB_SPEED_FULL, 117 pretend_port_rest, 0, NULL, NULL, &rh_ops, hc_dev, &hub_dev); 120 118 if (rc != EOK) { 121 119 usb_log_fatal("Failed to create root hub: %s.\n",
Note:
See TracChangeset
for help on using the changeset viewer.