Author: cgutman
Date: Tue Feb 21 20:32:48 2012
New Revision: 55792
URL:
http://svn.reactos.org/svn/reactos?rev=55792&view=rev
Log:
[USBOHCI]
- Fix indication of USB_PORT_STATUS_RESET changes
- Fixes premature completion of resets causing assertions to fail
Modified:
trunk/reactos/drivers/usb/usbohci/hardware.cpp
Modified: trunk/reactos/drivers/usb/usbohci/hardware.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbohci/hardwa…
==============================================================================
--- trunk/reactos/drivers/usb/usbohci/hardware.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbohci/hardware.cpp [iso-8859-1] Tue Feb 21 20:32:48 2012
@@ -1185,14 +1185,11 @@
if (Value & OHCI_RH_PORTSTATUS_PSSC)
*PortChange |= USB_PORT_STATUS_ENABLE;
- // port reset started (change bit only set at completion)
+ // port reset started
if (Value & OHCI_RH_PORTSTATUS_PRS)
- {
*PortStatus |= USB_PORT_STATUS_RESET;
- *PortChange |= USB_PORT_STATUS_RESET;
- }
-
- // port reset ended (change bit only set at completion)
+
+ // port reset ended
if (Value & OHCI_RH_PORTSTATUS_PRSC)
*PortChange |= USB_PORT_STATUS_RESET;