diff --git a/reactos/drivers/usb/miniport/usbuhci/usbuhci.c b/reactos/drivers/usb/miniport/usbuhci/usbuhci.c index 52f60932352..7f057121a5d 100644 --- a/reactos/drivers/usb/miniport/usbuhci/usbuhci.c +++ b/reactos/drivers/usb/miniport/usbuhci/usbuhci.c @@ -22,12 +22,14 @@ #include "usbuhci.h" #include "../../usbport/usbport.h" - +#include /* 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); diff --git a/reactos/drivers/usb/miniport/usbuhci/usbuhci.h b/reactos/drivers/usb/miniport/usbuhci/usbuhci.h index 2710effdea8..adf09f913b0 100644 --- a/reactos/drivers/usb/miniport/usbuhci/usbuhci.h +++ b/reactos/drivers/usb/miniport/usbuhci/usbuhci.h @@ -28,12 +28,6 @@ //#include #include -#ifdef DBG -#define DPRINT(arg) DbgPrint arg; -#else -#define DPRINT(arg) -#endif - // Export funcs here /* BOOL FASTCALL diff --git a/reactos/drivers/usb/usbport/usbport.c b/reactos/drivers/usb/usbport/usbport.c index acd78980beb..d27e4a21d3b 100644 --- a/reactos/drivers/usb/usbport/usbport.c +++ b/reactos/drivers/usb/usbport/usbport.c @@ -26,6 +26,7 @@ #include #include #include "usbport.h" +#include /* 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 @@ NTSTATUS STDCALL 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 @@ USBPORT_GetHciMn(VOID) NTSTATUS STDCALL USBPORT_AllocateUsbControllerInterface(OUT PUSB_CONTROLLER_INTERFACE *pControllerInterface) { + //DPRINT1("USBPORT_AllocateUsbControllerInterface\n"); ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL); ASSERT(0 != ControllerObject); @@ -73,6 +77,7 @@ USBPORT_AllocateUsbControllerInterface(OUT PUSB_CONTROLLER_INTERFACE *pControlle NTSTATUS STDCALL USBPORT_FreeUsbControllerInterface(IN PUSB_CONTROLLER_INTERFACE ControllerInterface) { + //DPRINT1("USBPORT_FreeUsbControllerInterface\n"); ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL); ExFreePool(ControllerInterface);