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 */