https://git.reactos.org/?p=reactos.git;a=commitdiff;h=468b8f3719aa6794e4976…
commit 468b8f3719aa6794e4976b746956b1753b7be2eb
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Sun May 17 22:49:47 2020 +0200
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Sun May 17 23:08:26 2020 +0200
[FREELDR] Fix I/O range size of serial ports
---
boot/freeldr/freeldr/arch/i386/pc/machpc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/freeldr/freeldr/arch/i386/pc/machpc.c
b/boot/freeldr/freeldr/arch/i386/pc/machpc.c
index 8aea5d9d13f..c0893049aaf 100644
--- a/boot/freeldr/freeldr/arch/i386/pc/machpc.c
+++ b/boot/freeldr/freeldr/arch/i386/pc/machpc.c
@@ -706,7 +706,7 @@ DetectSerialPorts(PCONFIGURATION_COMPONENT_DATA BusKey,
GET_SERIAL_PORT MachGetS
PartialDescriptor->Flags = CM_RESOURCE_PORT_IO;
PartialDescriptor->u.Port.Start.LowPart = Base;
PartialDescriptor->u.Port.Start.HighPart = 0x0;
- PartialDescriptor->u.Port.Length = 7;
+ PartialDescriptor->u.Port.Length = 8;
/* Set Interrupt */
PartialDescriptor = &PartialResourceList->PartialDescriptors[1];