Skip to content

Commit 69a666e

Browse files
committed
viostor: Remove DmaWidth initialization in HwStorFindAdapter
According to Microsoft documentation, DmaWidth is initialized by Storport and miniport drivers must not modify it. Remove the assignment to comply with Storport driver requirements. Signed-off-by: Zhang JianMing <[email protected]>
1 parent df67262 commit 69a666e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

viostor/virtio_stor.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ VirtIoFindAdapter(IN PVOID DeviceExtension,
266266

267267
ConfigInfo->Master = TRUE;
268268
ConfigInfo->ScatterGather = TRUE;
269-
ConfigInfo->DmaWidth = Width32Bits;
270269
ConfigInfo->Dma32BitAddresses = TRUE;
271270
ConfigInfo->Dma64BitAddresses = SCSI_DMA64_MINIPORT_FULL64BIT_SUPPORTED;
272271
ConfigInfo->WmiDataProvider = FALSE;

0 commit comments

Comments
 (0)