mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:13:00 +00:00
[USBSTOR][SCSIPORT] Use STORAGE_ADAPTER_DESCRIPTOR from WIN8
This way, these drivers are more compatible with classpnp and cdrom used by ReactOS (and don't fire asserts)
This commit is contained in:
parent
139e8f5308
commit
cbe88e287f
4 changed files with 63 additions and 27 deletions
|
@ -169,6 +169,24 @@ typedef struct _ERRORHANDLER_WORKITEM_DATA
|
|||
PIRP Irp;
|
||||
} ERRORHANDLER_WORKITEM_DATA, *PERRORHANDLER_WORKITEM_DATA;
|
||||
|
||||
// we need this to be compatible with ReactOS' classpnp (which is compiled with NTDDI_WIN8)
|
||||
typedef struct _STORAGE_ADAPTER_DESCRIPTOR_WIN8 {
|
||||
ULONG Version;
|
||||
ULONG Size;
|
||||
ULONG MaximumTransferLength;
|
||||
ULONG MaximumPhysicalPages;
|
||||
ULONG AlignmentMask;
|
||||
BOOLEAN AdapterUsesPio;
|
||||
BOOLEAN AdapterScansDown;
|
||||
BOOLEAN CommandQueueing;
|
||||
BOOLEAN AcceleratedTransfer;
|
||||
UCHAR BusType;
|
||||
USHORT BusMajorVersion;
|
||||
USHORT BusMinorVersion;
|
||||
UCHAR SrbType;
|
||||
UCHAR AddressType;
|
||||
} STORAGE_ADAPTER_DESCRIPTOR_WIN8, *PSTORAGE_ADAPTER_DESCRIPTOR_WIN8;
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue