Changeset be554d9 in mainline


Ignore:
Timestamp:
2013-01-06T14:46:44Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b995183
Parents:
e646c61
Message:

uhci: Add workaround for certain hw.

Fixes UHCI on acer aspire one(NM10/ICH10) after switch to new rh driver.

File:
1 edited

Legend:

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

    re646c61 rbe554d9  
    124124         * enter suspend state. */
    125125        udelay(10);
    126         /* Enable the port. */
     126        /* Drop ConnectionChange as some UHCI hw
     127         * sets this bit after reset, that is incorrect */
    127128        port_status &= ~STATUS_WC_BITS;
    128         pio_write_16(port, port_status | STATUS_ENABLED);
     129        pio_write_16(port, port_status | STATUS_ENABLED | STATUS_CONNECTED_CHANGED);
    129130}
    130131#define TEST_SIZE_INIT(size, port, hub) \
Note: See TracChangeset for help on using the changeset viewer.