https://git.reactos.org/?p=reactos.git;a=commitdiff;h=157491e29741da7cc5314…
commit 157491e29741da7cc5314ab22148a1a169741221
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Wed Jun 14 22:42:41 2023 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Mon Jun 19 21:10:53 2023 +0200
[STORPORT] MaximumNumberOfLogicalUnits should be initialized to
SCSI_MAXIMUM_LOGICAL_UNITS
See
https://www.osronline.com/article.cfm%5Earticle=538.htm
---
drivers/storage/port/storport/miniport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/storage/port/storport/miniport.c
b/drivers/storage/port/storport/miniport.c
index 54071f98345..16fefe95864 100644
--- a/drivers/storage/port/storport/miniport.c
+++ b/drivers/storage/port/storport/miniport.c
@@ -65,7 +65,7 @@ InitializeConfiguration(
PortConfig->SpecificLuExtensionSize = InitData->SpecificLuExtensionSize;
PortConfig->SrbExtensionSize = InitData->SrbExtensionSize;
- PortConfig->MaximumNumberOfLogicalUnits = 1;
+ PortConfig->MaximumNumberOfLogicalUnits = SCSI_MAXIMUM_LOGICAL_UNITS;
PortConfig->WmiDataProvider = TRUE;
PortConfig->NumberOfAccessRanges = InitData->NumberOfAccessRanges;