Author: tfaber
Date: Sat Apr 4 15:50:38 2015
New Revision: 67050
URL:
http://svn.reactos.org/svn/reactos?rev=67050&view=rev
Log:
[USBEHCI]
- Apply power to the right port in SetPortFeature
Modified:
trunk/reactos/drivers/usb/usbehci/hardware.cpp
Modified: trunk/reactos/drivers/usb/usbehci/hardware.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbehci/hardwa…
==============================================================================
--- trunk/reactos/drivers/usb/usbehci/hardware.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbehci/hardware.cpp [iso-8859-1] Sat Apr 4 15:50:38 2015
@@ -1171,7 +1171,7 @@
// enable port power
//
Value = EHCI_READ_REGISTER_ULONG(EHCI_PORTSC + (4 * PortId)) |
EHCI_PRT_POWER;
- EHCI_WRITE_REGISTER_ULONG(EHCI_PORTSC, Value);
+ EHCI_WRITE_REGISTER_ULONG(EHCI_PORTSC + (4 * PortId), Value);
//
// delay is 20 ms