projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8478147
)
[USB-BRINGUP-TRUNK]
author
Cameron Gutman
<aicommander@gmail.com>
Mon, 23 Jan 2012 15:53:25 +0000
(15:53 +0000)
committer
Cameron Gutman
<aicommander@gmail.com>
Mon, 23 Jan 2012 15:53:25 +0000
(15:53 +0000)
- Restore the frame interval register after a reset as per OHCI spec
svn path=/branches/usb-bringup-trunk/; revision=55112
drivers/usb/usbohci/hardware.cpp
patch
|
blob
|
history
diff --git
a/drivers/usb/usbohci/hardware.cpp
b/drivers/usb/usbohci/hardware.cpp
index
32da72c
..
e2e0cdb
100644
(file)
--- a/
drivers/usb/usbohci/hardware.cpp
+++ b/
drivers/usb/usbohci/hardware.cpp
@@
-996,6
+996,11
@@
CUSBHardwareDevice::StopController(void)
//
if ((Reset & OHCI_HOST_CONTROLLER_RESET) == 0)
{
//
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
//
//
// controller completed reset
//