Skip to content

Commit

Permalink
[vioscsi] Add missing HW_INITIALIZATION_DATA Members
Browse files Browse the repository at this point in the history
Add missing StorPort HW_INITIALIZATION_DATA Members per MS docs

1. AddressTypeFlags = ADDRESS_TYPE_FLAG_BTL8

Signed-off-by: benyamin-codez <[email protected]>
  • Loading branch information
benyamin-codez committed Dec 18, 2024
1 parent a01c696 commit 24a35fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vioscsi/vioscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ DriverEntry(
hwInitData.MapBuffers = STOR_MAP_NON_READ_WRITE_BUFFERS;

hwInitData.SrbTypeFlags = SRB_TYPE_FLAG_STORAGE_REQUEST_BLOCK;
hwInitData.AddressTypeFlags = ADDRESS_TYPE_FLAG_BTL8;

initResult = StorPortInitialize(DriverObject,
RegistryPath,
Expand Down

0 comments on commit 24a35fd

Please sign in to comment.