mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 16:45:50 +00:00
IopGetBusTypeGuidIndex: Fix an infinite loop
IopAssignDeviceResources: Allocate bus number resources svn path=/trunk/; revision=18422
This commit is contained in:
parent
29b7b9b24a
commit
43938afffe
1 changed files with 3 additions and 2 deletions
|
@ -606,6 +606,7 @@ IopGetBusTypeGuidIndex(LPGUID BusTypeGuid)
|
|||
FoundIndex = i;
|
||||
goto Quickie;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
||||
/* Check if we have to grow the list */
|
||||
|
@ -1280,7 +1281,7 @@ IopAssignDeviceResources(
|
|||
= 0;
|
||||
break;
|
||||
}
|
||||
/*case CmResourceTypeBusNumber:
|
||||
case CmResourceTypeBusNumber:
|
||||
{
|
||||
DescriptorRaw->u.BusNumber.Start = DescriptorTranslated->u.BusNumber.Start
|
||||
= ResourceDescriptor->u.BusNumber.MinBusNumber;
|
||||
|
@ -1289,7 +1290,7 @@ IopAssignDeviceResources(
|
|||
DescriptorRaw->u.BusNumber.Reserved = DescriptorTranslated->u.BusNumber.Reserved
|
||||
= ResourceDescriptor->u.BusNumber.Reserved;
|
||||
break;
|
||||
}*/
|
||||
}
|
||||
/*CmResourceTypeDevicePrivate:
|
||||
case CmResourceTypePcCardConfig:
|
||||
case CmResourceTypeMfCardConfig:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue