[HIDUSB][USBHUB]

* Silence some debug prints.

svn path=/trunk/; revision=60084
This commit is contained in:
Amine Khaldi 2013-09-13 22:03:47 +00:00
parent a927f1d071
commit 02d7889f97
3 changed files with 14 additions and 14 deletions

View file

@ -1649,7 +1649,7 @@ Hid_PnpStart(
// //
// done // done
// //
DPRINT1("[HIDUSB] SelectConfiguration %x\n", Status); DPRINT("[HIDUSB] SelectConfiguration %x\n", Status);
if (NT_SUCCESS(Status)) if (NT_SUCCESS(Status))
{ {

View file

@ -231,8 +231,8 @@ DeviceStatusChangeThread(
return; return;
} }
DPRINT1("Port %d Status %x\n", PortId, PortStatus.Status); DPRINT("Port %d Status %x\n", PortId, PortStatus.Status);
DPRINT1("Port %d Change %x\n", PortId, PortStatus.Change); DPRINT("Port %d Change %x\n", PortId, PortStatus.Change);
// //
@ -322,8 +322,8 @@ DeviceStatusChangeThread(
return; return;
} }
DPRINT1("Port %d Status %x\n", PortId, PortStatus.Status); DPRINT("Port %d Status %x\n", PortId, PortStatus.Status);
DPRINT1("Port %d Change %x\n", PortId, PortStatus.Change); DPRINT("Port %d Change %x\n", PortId, PortStatus.Change);
// //
// Check that reset was cleared // Check that reset was cleared
@ -1268,8 +1268,8 @@ CreateUsbChildDeviceObject(
goto Cleanup; goto Cleanup;
} }
DumpDeviceDescriptor(&UsbChildExtension->DeviceDesc); //DumpDeviceDescriptor(&UsbChildExtension->DeviceDesc);
DumpConfigurationDescriptor(&ConfigDesc); //DumpConfigurationDescriptor(&ConfigDesc);
// //
// FIXME: Support more than one configuration and one interface? // FIXME: Support more than one configuration and one interface?

View file

@ -237,22 +237,22 @@ USBHUB_PdoHandleInternalDeviceControl(
// Debugging only // Debugging only
// //
case URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE: case URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:
DPRINT1("URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE\n"); DPRINT("URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE\n");
break; break;
case URB_FUNCTION_CLASS_DEVICE: case URB_FUNCTION_CLASS_DEVICE:
DPRINT1("URB_FUNCTION_CLASS_DEVICE\n"); DPRINT("URB_FUNCTION_CLASS_DEVICE\n");
break; break;
case URB_FUNCTION_GET_STATUS_FROM_DEVICE: case URB_FUNCTION_GET_STATUS_FROM_DEVICE:
DPRINT1("URB_FUNCTION_GET_STATUS_FROM_DEVICE\n"); DPRINT("URB_FUNCTION_GET_STATUS_FROM_DEVICE\n");
break; break;
case URB_FUNCTION_SELECT_CONFIGURATION: case URB_FUNCTION_SELECT_CONFIGURATION:
DPRINT1("URB_FUNCTION_SELECT_CONFIGURATION\n"); DPRINT("URB_FUNCTION_SELECT_CONFIGURATION\n");
break; break;
case URB_FUNCTION_SELECT_INTERFACE: case URB_FUNCTION_SELECT_INTERFACE:
DPRINT1("URB_FUNCTION_SELECT_INTERFACE\n"); DPRINT("URB_FUNCTION_SELECT_INTERFACE\n");
break; break;
case URB_FUNCTION_CLASS_OTHER: case URB_FUNCTION_CLASS_OTHER:
DPRINT1("URB_FUNCTION_CLASS_OTHER\n"); DPRINT("URB_FUNCTION_CLASS_OTHER\n");
break; break;
case URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER: case URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:
{ {
@ -273,7 +273,7 @@ USBHUB_PdoHandleInternalDeviceControl(
} }
case URB_FUNCTION_CLASS_INTERFACE: case URB_FUNCTION_CLASS_INTERFACE:
DPRINT1("URB_FUNCTION_CLASS_INTERFACE\n"); DPRINT("URB_FUNCTION_CLASS_INTERFACE\n");
break; break;
case URB_FUNCTION_VENDOR_DEVICE: case URB_FUNCTION_VENDOR_DEVICE:
DPRINT("URB_FUNCTION_VENDOR_DEVICE\n"); DPRINT("URB_FUNCTION_VENDOR_DEVICE\n");