IopGetBusTypeGuidIndex: Fix an infinite loop
IopAssignDeviceResources: Allocate bus number resources
Modified: trunk/reactos/ntoskrnl/io/pnpmgr.c
_____
Modified: trunk/reactos/ntoskrnl/io/pnpmgr.c
--- trunk/reactos/ntoskrnl/io/pnpmgr.c 2005-10-13 07:35:48 UTC (rev
18421)
+++ trunk/reactos/ntoskrnl/io/pnpmgr.c 2005-10-13 07:43:25 UTC (rev
18422)
@@ -606,6 +606,7 @@
FoundIndex = i;
goto Quickie;
}
+ i++;
}
/* Check if we have to grow the list */
@@ -1280,7 +1281,7 @@
= 0;
break;
}
- /*case CmResourceTypeBusNumber:
+ case CmResourceTypeBusNumber:
{
DescriptorRaw->u.BusNumber.Start =
DescriptorTranslated->u.BusNumber.Start
= ResourceDescriptor->u.BusNumber.MinBusNumber;
@@ -1289,7 +1290,7 @@
DescriptorRaw->u.BusNumber.Reserved =
DescriptorTranslated->u.BusNumber.Reserved
= ResourceDescriptor->u.BusNumber.Reserved;
break;
- }*/
+ }
/*CmResourceTypeDevicePrivate:
case CmResourceTypePcCardConfig:
case CmResourceTypeMfCardConfig:
Show replies by date