mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[PCIIDEX] Increase command port length to 8 from 7. CORE-9922 (#2711)
Co-Authored-By: Vadim Galyant <vgal@rambler.ru>
This commit is contained in:
parent
7c81fb8f56
commit
8ae1702a16
1 changed files with 3 additions and 3 deletions
|
@ -257,10 +257,10 @@ PciIdeXPdoQueryResourceRequirements(
|
|||
Descriptor->Flags = CM_RESOURCE_PORT_IO |
|
||||
CM_RESOURCE_PORT_16_BIT_DECODE |
|
||||
CM_RESOURCE_PORT_POSITIVE_DECODE;
|
||||
Descriptor->u.Port.Length = 7;
|
||||
Descriptor->u.Port.Length = 8;
|
||||
Descriptor->u.Port.Alignment = 1;
|
||||
Descriptor->u.Port.MinimumAddress.QuadPart = (ULONGLONG)CommandPortBase;
|
||||
Descriptor->u.Port.MaximumAddress.QuadPart = (ULONGLONG)(CommandPortBase + 7 - 1);
|
||||
Descriptor->u.Port.MaximumAddress.QuadPart = (ULONGLONG)(CommandPortBase + Descriptor->u.Port.Length - 1);
|
||||
Descriptor++;
|
||||
|
||||
/* Control port base */
|
||||
|
@ -273,7 +273,7 @@ PciIdeXPdoQueryResourceRequirements(
|
|||
Descriptor->u.Port.Length = 1;
|
||||
Descriptor->u.Port.Alignment = 1;
|
||||
Descriptor->u.Port.MinimumAddress.QuadPart = (ULONGLONG)ControlPortBase;
|
||||
Descriptor->u.Port.MaximumAddress.QuadPart = (ULONGLONG)(ControlPortBase + 1 - 1);
|
||||
Descriptor->u.Port.MaximumAddress.QuadPart = (ULONGLONG)(ControlPortBase + Descriptor->u.Port.Length - 1);
|
||||
Descriptor++;
|
||||
|
||||
/* Interrupt */
|
||||
|
|
Loading…
Reference in a new issue