diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-01-28 08:12:11 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-01-28 08:12:11 +0000 |
commit | af388a9ae50f13775f8a82a37ae503948faa4fd9 (patch) | |
tree | 210a027d5c1a604409448130a7771e47246d6a3e /PcAtChipsetPkg | |
parent | 1fade6cf657cf62c48c491f17d2464bc1b90ae55 (diff) | |
download | edk2-platforms-af388a9ae50f13775f8a82a37ae503948faa4fd9.tar.xz |
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
Diffstat (limited to 'PcAtChipsetPkg')
-rw-r--r-- | PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c b/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c index 6403a0723c..a6c1d130ab 100644 --- a/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c +++ b/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c @@ -1180,7 +1180,7 @@ PreprocessController ( return EFI_INVALID_PARAMETER;
}
- if (Phase < EfiPciBeforeChildBusEnumeration || Phase > EfiMaxPciHostBridgeEnumerationPhase) {
+ if (Phase < EfiPciBeforeChildBusEnumeration || Phase > EfiPciBeforeResourceCollection) {
return EFI_INVALID_PARAMETER;
}
|