Changeset 1b90e90 in mainline for uspace/drv/bus/usb/ohci/root_hub.c


Ignore:
Timestamp:
2012-03-05T20:51:42Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
81716eb
Parents:
45f4f19
Message:

ohci: Improve HCCA structure handling. Add comments.

Fix minor root hub bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/root_hub.c

    r45f4f19 r1b90e90  
    434434                        /* Register format matches the format of port status
    435435                         * field */
    436                         const uint32_t data = uint32_usb2host(OHCI_RD(
     436                        const uint32_t data = uint32_host2usb(OHCI_RD(
    437437                            instance->registers->rh_port_status[port - 1]));
    438438                        TRANSFER_END_DATA(request, &data, sizeof(data));
Note: See TracChangeset for help on using the changeset viewer.