Changeset 07b8877 in mainline


Ignore:
Timestamp:
2014-01-23T04:23:11Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f9351b1
Parents:
9ff59981
Message:

ehci,rh: Consider software flags for port changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/ehci_rh.c

    r9ff59981 r07b8877  
    438438                /* Write-clean bits are those that indicate change */
    439439                uint32_t status = EHCI_RD(hub->registers->portsc[port]);
    440                 if (status & USB_PORTSC_WC_MASK) {
     440                if ((status & USB_PORTSC_WC_MASK)
     441                    || hub->reset_flag[port] || hub->reset_flag[port]) {
    441442                        /* Ignore new LS device */
    442443                        if ((status & USB_PORTSC_CONNECT_CH_FLAG) &&
Note: See TracChangeset for help on using the changeset viewer.