Author: cgutman
Date: Fri Feb 24 23:14:19 2012
New Revision: 55845
URL:
http://svn.reactos.org/svn/reactos?rev=55845&view=rev
Log:
[USBOHCI]
- Fix a broken assertion and print out the alignment mask and HCCA pointer
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] Fri Feb 24 23:14:19 2012
@@ -588,7 +588,8 @@
WRITE_REGISTER_ULONG((PULONG)((PUCHAR)m_Base + OHCI_HCCA_OFFSET), 0xFFFFFFFF);
KeStallExecutionProcessor(10);
Control = READ_REGISTER_ULONG((PULONG)((PUCHAR)m_Base + OHCI_HCCA_OFFSET));
- ASSERT((m_HCCAPhysicalAddress.LowPart & Control) == Control);
+ ASSERT((m_HCCAPhysicalAddress.LowPart & Control) ==
m_HCCAPhysicalAddress.LowPart);
+ DPRINT1("HCCA: %x Alignment mask: %x\n", m_HCCAPhysicalAddress.LowPart,
Control);
//
// write address of HCCA