Give the output information in right place.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5317 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff
2008-06-03 02:16:12 +00:00
parent 86b2b825c4
commit 4ecdb8690f

View File

@ -1222,11 +1222,11 @@ PciScanBus_WithoutHotPlugDeviceSupport (
Func
);
if (!EFI_ERROR (Status) &&
(IS_PCI_BRIDGE (&Pci) ||
IS_CARDBUS_BRIDGE (&Pci))) {
if (!EFI_ERROR (Status)) {
DEBUG((EFI_D_ERROR, "Found DEV(%02d,%02d,%02d)\n", StartBusNumber, Device, Func));
DEBUG((EFI_D_ERROR, "Found DEV(%02d,%02d,%02d)\n", StartBusNumber, Device, Func ));
if (IS_PCI_BRIDGE (&Pci) ||
IS_CARDBUS_BRIDGE (&Pci)) {
//
// Get the bridge information
@ -1337,7 +1337,7 @@ PciScanBus_WithoutHotPlugDeviceSupport (
);
}
}
if (Func == 0 && !IS_PCI_MULTI_FUNC (&Pci)) {
//