return EFI_INVALID_PARAMETER;\r
}\r
\r
- if (Phase < EfiPciBeforeChildBusEnumeration || Phase > EfiMaxPciHostBridgeEnumerationPhase) {\r
+ if (Phase < EfiPciBeforeChildBusEnumeration || Phase > EfiPciBeforeResourceCollection) {\r
return EFI_INVALID_PARAMETER;\r
}\r
\r