From 0e05873866cc71f29b160fd86e040a0e3f1402fd Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 24 Feb 2012 23:14:19 +0000 Subject: [PATCH] [USBOHCI] - Fix a broken assertion and print out the alignment mask and HCCA pointer svn path=/trunk/; revision=55845 --- reactos/drivers/usb/usbohci/hardware.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/drivers/usb/usbohci/hardware.cpp b/reactos/drivers/usb/usbohci/hardware.cpp index caf47bbece0..a1ce33784a8 100644 --- a/reactos/drivers/usb/usbohci/hardware.cpp +++ b/reactos/drivers/usb/usbohci/hardware.cpp @@ -588,7 +588,8 @@ CUSBHardwareDevice::StartController(void) 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