Changeset 8f748215 in mainline for uspace/drv/uhci/root_hub/root_hub.c


Ignore:
Timestamp:
2011-01-07T16:42:00Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
93fb170c
Parents:
15701921
Message:

port_status refactoring, use flags instead of structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci/root_hub/root_hub.c

    r15701921 r8f748215  
    1515
    1616        /* allow access to root hub registers */
    17         uhci_port_reg_t *regs;
     17        port_status_t *regs;
    1818        const int ret = pio_enable(
    19           addr, sizeof(uhci_port_reg_t) * UHCI_ROOT_HUB_PORT_COUNT, (void**)&regs);
     19          addr, sizeof(port_status_t) * UHCI_ROOT_HUB_PORT_COUNT, (void**)&regs);
    2020
    2121        if (ret < 0) {
Note: See TracChangeset for help on using the changeset viewer.