Changeset 013517b in mainline for uspace/drv


Ignore:
Timestamp:
2011-10-12T20:23:23Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
32ec5671
Parents:
162726b
Message:

usb: Remove assigned_handle output parameter.

Use new_fun instead.

Location:
uspace/drv/bus/usb
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhcirh/port.c

    r162726b r013517b  
    261261                ret = usb_hc_new_device_wrapper(port->rh, &port->hc_connection,
    262262                    speed, uhci_port_reset_enable, port->number, port,
    263                     &port->attached_device.address, NULL, NULL, NULL,
     263                    &port->attached_device.address, NULL, NULL,
    264264                    &port->attached_device.fun);
    265265        } while (ret != EOK && ++count < 4);
  • uspace/drv/bus/usb/usbhub/port.c

    r162726b r013517b  
    423423            &data->hub->connection, data->speed,
    424424            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);
    427426
    428427        if (rc != EOK) {
  • uspace/drv/bus/usb/vhc/hub.c

    r162726b r013517b  
    114114
    115115        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);
    120118        if (rc != EOK) {
    121119                usb_log_fatal("Failed to create root hub: %s.\n",
Note: See TracChangeset for help on using the changeset viewer.