Merge R8 track #8354: SupportPalette() algorithm incorrect

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2100 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2006-12-14 08:47:45 +00:00
parent 4ef4e1eab5
commit d43eee260f
1 changed files with 2 additions and 6 deletions

View File

@ -1346,7 +1346,7 @@ Returns:
// decode
//
if (Temp->BusNumber > PciIoDevice->BusNumber) {
if (Temp->BusNumber < PciIoDevice->BusNumber) {
//
// GFX should be set to decode
//
@ -1971,9 +1971,5 @@ Returns:
return TRUE;
}
if (PciDevice1->BusNumber > PciDevice2->BusNumber) {
return PciDeviceExisted (PciDevice1->Parent, PciDevice2);
}
return PciDeviceExisted (PciDevice2->Parent, PciDevice1);
return (PciDeviceExisted (PciDevice1->Parent, PciDevice2)|| PciDeviceExisted (PciDevice2->Parent, PciDevice1));
}