Author: cgutman
Date: Thu Feb 2 18:29:30 2012
New Revision: 55380
URL:
http://svn.reactos.org/svn/reactos?rev=55380&view=rev
Log:
[USBOHCI]
- Fix device enumeration on boot
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] Thu Feb 2
18:29:30 2012
@@ -1349,10 +1349,15 @@
KeDelayExecutionThread(KernelMode, FALSE, &Timeout);
//
- // trigger the status change interrupt
- //
- WRITE_REGISTER_ULONG((PULONG)((PUCHAR)m_Base + OHCI_INTERRUPT_ENABLE_OFFSET),
OHCI_ROOT_HUB_STATUS_CHANGE);
-
+ // is there a status change callback
+ //
+ if (m_SCECallBack != NULL)
+ {
+ //
+ // issue callback
+ //
+ m_SCECallBack(m_SCEContext);
+ }
return STATUS_SUCCESS;
}
return STATUS_SUCCESS;