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


Ignore:
Timestamp:
2011-02-18T13:26:12Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0c00dac, 735eac3
Parents:
f673f60
Message:

Hack for setting low speed/high speed

Currently, it is only a boolean. Will improve later.

File:
1 edited

Legend:

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

    rf673f60 r6427cf67  
    140140
    141141        /* get address of the future device */
    142         const usb_address_t usb_address = usb_hc_request_address(&port->hc_connection);
     142        const usb_address_t usb_address = usb_hc_request_address(
     143            &port->hc_connection, true);
    143144
    144145        if (usb_address <= 0) {
     
    150151
    151152        /* get default address */
    152         int ret = usb_hc_reserve_default_address(&port->hc_connection);
     153        int ret = usb_hc_reserve_default_address(&port->hc_connection, true);
    153154        if (ret != EOK) {
    154155                usb_log_error("Failed to reserve default address on port %d.\n",
Note: See TracChangeset for help on using the changeset viewer.