[PCI] Accept a bus number range instead of a single bus number

This commit is contained in:
Hervé Poussineau 2020-10-31 15:33:47 +01:00
parent 6aae5f4fdd
commit 65cc802b73

View file

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