Author: cgutman
Date: Mon Jan 23 15:53:25 2012
New Revision: 55112
URL:
http://svn.reactos.org/svn/reactos?rev=55112&view=rev
Log:
[USB-BRINGUP-TRUNK]
- Restore the frame interval register after a reset as per OHCI spec
Modified:
branches/usb-bringup-trunk/drivers/usb/usbohci/hardware.cpp
Modified: branches/usb-bringup-trunk/drivers/usb/usbohci/hardware.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/u…
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbohci/hardware.cpp [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbohci/hardware.cpp [iso-8859-1] Mon Jan 23
15:53:25 2012
@@ -997,6 +997,11 @@
if ((Reset & OHCI_HOST_CONTROLLER_RESET) == 0)
{
//
+ // restore the frame interval register
+ //
+ WRITE_REGISTER_ULONG((PULONG)((PUCHAR)m_Base + OHCI_FRAME_INTERVAL_OFFSET),
FrameInterval);
+
+ //
// controller completed reset
//
return STATUS_SUCCESS;