Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 44d518b in mainline


Ignore:
Timestamp:
2013-01-06T12:20:40Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
5c058b6e
Parents:
74271e0
Message:

uhci: Fix port status conversion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/uhci_rh.c

    r74271e0 r44d518b  
    172172
    173173        const uint16_t val = pio_read_16(hub->ports[port]);
    174         const uint32_t status = uint16_usb2host(
     174        const uint32_t status = uint32_host2usb(
    175175            UHCI2USB(val, STATUS_CONNECTED, USB_HUB_FEATURE_PORT_CONNECTION) |
    176176            UHCI2USB(val, STATUS_ENABLED, USB_HUB_FEATURE_PORT_ENABLE) |
Note: See TracChangeset for help on using the changeset viewer.