Update to add some debugging messages. Modified: trunk/reactos/drivers/usb/miniport/usbuhci/usbuhci.c Modified: trunk/reactos/drivers/usb/miniport/usbuhci/usbuhci.h Modified: trunk/reactos/drivers/usb/usbport/usbport.c _____
Modified: trunk/reactos/drivers/usb/miniport/usbuhci/usbuhci.c --- trunk/reactos/drivers/usb/miniport/usbuhci/usbuhci.c 2005-01-18 03:28:00 UTC (rev 13107) +++ trunk/reactos/drivers/usb/miniport/usbuhci/usbuhci.c 2005-01-18 03:34:18 UTC (rev 13108) @@ -22,12 +22,14 @@
#include "usbuhci.h" #include "../../usbport/usbport.h" - +#include <debug.h> /* PUBLIC AND PRIVATE FUNCTIONS ***********************************************/
NTSTATUS STDCALL DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) { + //return STATUS_SUCCESS; + //DPRINT1("USBUHCI.SYS DriverEntry\n"); PUSB_CONTROLLER_INTERFACE ControllerInterface;
USBPORT_AllocateUsbControllerInterface(&ControllerInterface); _____
Modified: trunk/reactos/drivers/usb/miniport/usbuhci/usbuhci.h --- trunk/reactos/drivers/usb/miniport/usbuhci/usbuhci.h 2005-01-18 03:28:00 UTC (rev 13107) +++ trunk/reactos/drivers/usb/miniport/usbuhci/usbuhci.h 2005-01-18 03:34:18 UTC (rev 13108) @@ -28,12 +28,6 @@
//#include <ddk/miniport.h> #include <ddk/ntapi.h>
-#ifdef DBG -#define DPRINT(arg) DbgPrint arg; -#else -#define DPRINT(arg) -#endif - // Export funcs here /* BOOL FASTCALL _____
Modified: trunk/reactos/drivers/usb/usbport/usbport.c --- trunk/reactos/drivers/usb/usbport/usbport.c 2005-01-18 03:28:00 UTC (rev 13107) +++ trunk/reactos/drivers/usb/usbport/usbport.c 2005-01-18 03:34:18 UTC (rev 13108) @@ -26,6 +26,7 @@
#include <windef.h> #include <ddk/ntddk.h> #include "usbport.h" +#include <debug.h>
/* PUBLIC AND PRIVATE FUNCTIONS ***********************************************/
@@ -36,6 +37,7 @@ NTSTATUS STDCALL DriverEntry(IN PVOID Context1, IN PVOID Context2) { + DPRINT1("USBPORT.SYS DriverEntry\n"); return STATUS_SUCCESS; } /* @@ -45,6 +47,7 @@ USBPORT_RegisterUSBPortDriver(PDRIVER_OBJECT DriverObject, DWORD Unknown1, PUSB_CONTROLLER_INTERFACE Interface) { + //DPRINT1("USBPORT_RegisterUSBPortDriver\n"); ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
return STATUS_SUCCESS; @@ -61,6 +64,7 @@ NTSTATUS STDCALL USBPORT_AllocateUsbControllerInterface(OUT PUSB_CONTROLLER_INTERFACE *pControllerInterface) { + //DPRINT1("USBPORT_AllocateUsbControllerInterface\n"); ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL); ASSERT(0 != ControllerObject);
@@ -73,6 +77,7 @@ NTSTATUS STDCALL USBPORT_FreeUsbControllerInterface(IN PUSB_CONTROLLER_INTERFACE ControllerInterface) { + //DPRINT1("USBPORT_FreeUsbControllerInterface\n"); ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
ExFreePool(ControllerInterface);