https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5099f24373d6f68f4b98241a3ea488595a109dc1

commit 5099f24373d6f68f4b98241a3ea488595a109dc1
Author:     Eric Kohl <[email protected]>
AuthorDate: Wed Dec 9 23:58:12 2020 +0100
Commit:     Eric Kohl <[email protected]>
CommitDate: Wed Dec 9 23:58:12 2020 +0100

    [SCSIPORT] Add the enumerator (SCSI) to the Compatible IDs
---
 drivers/storage/port/scsiport/pdo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/storage/port/scsiport/pdo.c 
b/drivers/storage/port/scsiport/pdo.c
index 5ddbd7e2b34..dcbe000b168 100644
--- a/drivers/storage/port/scsiport/pdo.c
+++ b/drivers/storage/port/scsiport/pdo.c
@@ -483,8 +483,8 @@ PdoHandleQueryCompatibleId(
     DeviceType = GetDeviceType(&PDODeviceExtension->InquiryData);
 
     // format instance id
-    Length = sprintf(Buffer, "%s", DeviceType) + 1;
-    Length += sprintf(&Buffer[Length], "%s", "RAW") + 2;
+    Length = sprintf(Buffer, "SCSI\\%s", DeviceType) + 1;
+    Length += sprintf(&Buffer[Length], "SCSI\\%s", "RAW") + 2;
 
     InstanceId = ExAllocatePoolWithTag(PagedPool, Length * sizeof(WCHAR), 
TAG_SCSIPORT);
     if (!InstanceId)

Reply via email to