Changeset ca56afa in mainline for uspace/drv/uhci-rhd/port.c


Ignore:
Timestamp:
2011-02-25T09:46:23Z (13 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d493ac17
Parents:
15b0432 (diff), a80849c (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.
Message:

merge with /usb/development

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-rhd/port.c

    r15b0432 rca56afa  
    5252int uhci_port_init(
    5353  uhci_port_t *port, port_status_t *address, unsigned number,
    54   unsigned usec, device_t *rh, int parent_phone)
     54  unsigned usec, ddf_dev_t *rh, int parent_phone)
    5555{
    5656        assert(port);
     
    9292
    9393        while (1) {
    94                 usb_log_debug("Port(%d) status address %p:\n",
    95                   port_instance->number, port_instance->address);
    96 
    9794                /* read register value */
    9895                port_status_t port_status =
     
    10097
    10198                /* debug print */
    102                 usb_log_info("Port(%d) status %#.4x\n",
    103                   port_instance->number, port_status);
     99                usb_log_debug("Port %d status at %p: 0x%04x.\n",
     100                  port_instance->number, port_instance->address, port_status);
    104101                print_port_status(port_status);
    105102
     
    187184            USB_SPEED_FULL,
    188185            new_device_enable_port, port->number, port,
    189             &dev_addr, &port->attached_device);
     186            &dev_addr, &port->attached_device, NULL, NULL, NULL);
    190187        if (rc != EOK) {
    191188                usb_log_error("Failed adding new device on port %u: %s.\n",
Note: See TracChangeset for help on using the changeset viewer.