mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[SCSIPORT] Reduce and improve debug printing
This commit is contained in:
parent
ba117350eb
commit
1a6bd2704a
2 changed files with 3 additions and 7 deletions
|
@ -324,13 +324,11 @@ FdoScanAdapter(
|
|||
/* Clear the "in scan" flag */
|
||||
lunExt->Flags &= ~SCSI_PORT_SCAN_IN_PROGRESS;
|
||||
|
||||
DPRINT("FdoScanAdapter(): Found device of type %d at bus %d tid %d lun %d\n",
|
||||
InquiryData->DeviceType, pathId, targetId, lun);
|
||||
DPRINT1("Found device of type %d at controller %d bus %d tid %d lun %d, PDO: %p\n",
|
||||
InquiryData->DeviceType, PortExtension->PortNumber, pathId, targetId, lun, lunPDO);
|
||||
|
||||
InsertTailList(¤tBus->LunsListHead, &lunExt->LunEntry);
|
||||
|
||||
DPRINT1("SCSIPORT: created lun device: %p Status: %x\n", lunPDO, status);
|
||||
|
||||
totalLUNs++;
|
||||
currentBus->LogicalUnitsCount++;
|
||||
targetFound = TRUE;
|
||||
|
|
|
@ -981,8 +981,6 @@ ScsiPortInitialize(
|
|||
break;
|
||||
}
|
||||
|
||||
DPRINT1("Created device: %wZ (%p)\n", &DeviceName, PortDeviceObject);
|
||||
|
||||
/* Set the buffering strategy here... */
|
||||
PortDeviceObject->Flags |= DO_DIRECT_IO;
|
||||
PortDeviceObject->AlignmentRequirement = FILE_WORD_ALIGNMENT; /* FIXME: Is this really needed? */
|
||||
|
@ -2494,7 +2492,7 @@ TryNextAd:
|
|||
else
|
||||
{
|
||||
/* Info was not found, exit */
|
||||
DPRINT1("ZwOpenKey() failed with Status=0x%08X\n", Status);
|
||||
DPRINT("ZwOpenKey() failed with Status=0x%08X\n", Status);
|
||||
return STATUS_DEVICE_DOES_NOT_EXIST;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue