PcAtChipsetPkg/PciHostBridgeDxe: Fix enum type mismatch

The previous code was comparing enums with a different type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11281 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2011-01-28 08:12:11 +00:00
parent 1fade6cf65
commit af388a9ae5
1 changed files with 1 additions and 1 deletions

View File

@ -1180,7 +1180,7 @@ PreprocessController (
return EFI_INVALID_PARAMETER;
}
if (Phase < EfiPciBeforeChildBusEnumeration || Phase > EfiMaxPciHostBridgeEnumerationPhase) {
if (Phase < EfiPciBeforeChildBusEnumeration || Phase > EfiPciBeforeResourceCollection) {
return EFI_INVALID_PARAMETER;
}