Changeset 8855939 in mainline


Ignore:
Timestamp:
2011-05-08T18:39:08Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11349a85
Parents:
a948c23
Message:

Do not reset EHCI controller (messes with already connected devices).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ehci-hcd/pci.c

    ra948c23 r8855939  
    300300                *usbcmd = 0;
    301301                while (!(*usbsts & (1 << 12))); /*wait until hc is halted */
    302                 *usbcmd = 0x2; /* reset */
    303                 while (*usbcmd & 0x2); /* wait for reset to complete */
     302                *usbconfigured = 0;
    304303                usb_log_info("EHCI turned off.\n");
    305304        } else {
Note: See TracChangeset for help on using the changeset viewer.