https://git.reactos.org/?p=reactos.git;a=commitdiff;h=129e009a2c3edbf96faf2…
commit 129e009a2c3edbf96faf2f7c65919be174f938d8
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Tue Nov 3 22:04:41 2020 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Sun Nov 15 18:38:37 2020 +0100
[NTOS:IO] Do not translate resources of type CmResourceTypeDevicePrivate
CmResourceTypeDevicePrivate resources are created the the bus driver, for its own later use,
when children devices will receive the IRP_MN_START_DEVICE.
Do not translate them, as they have no meaning outside bus driver.
---
ntoskrnl/io/pnpmgr/pnpres.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ntoskrnl/io/pnpmgr/pnpres.c b/ntoskrnl/io/pnpmgr/pnpres.c
index b417072b087..11e7b1b43bf 100644
--- a/ntoskrnl/io/pnpmgr/pnpres.c
+++ b/ntoskrnl/io/pnpmgr/pnpres.c
@@ -1075,6 +1075,7 @@ IopTranslateDeviceResources(
case CmResourceTypeDma:
case CmResourceTypeBusNumber:
+ case CmResourceTypeDevicePrivate:
case CmResourceTypeDeviceSpecific:
/* Nothing to do */
break;
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=65cc802b734ca8c5884cf…
commit 65cc802b734ca8c5884cf0629f5d6ac85000fade
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Sat Oct 31 15:33:47 2020 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Sun Nov 15 18:38:37 2020 +0100
[PCI] Accept a bus number range instead of a single bus number
---
drivers/bus/pci/fdo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/pci/fdo.c b/drivers/bus/pci/fdo.c
index a2e6e171fc5..2cd73f650b2 100644
--- a/drivers/bus/pci/fdo.c
+++ b/drivers/bus/pci/fdo.c
@@ -425,7 +425,7 @@ FdoStartDevice(
switch (ResourceDescriptor->Type)
{
case CmResourceTypeBusNumber:
- if (FoundBusNumber || ResourceDescriptor->u.BusNumber.Length != 1)
+ if (FoundBusNumber || ResourceDescriptor->u.BusNumber.Length < 1)
return STATUS_INVALID_PARAMETER;
/* Use this one instead */