]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.c
Update the PCI bus driver to correctly set the EFI_PCI_IO_ATTRIBUTE_EMBEDDED_ROM...
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / PciBusDxe / PciHotPlugSupport.c
index 61172be78e67dee991666e01a2bd40671ec7ac00..257874b8b03ed43b7dfada351dac65263d53ceaa 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   PCI Hot Plug support functions implementation for PCI Bus module..\r
 \r
-Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -254,7 +254,7 @@ AllRootHPCInitialized (
   do {\r
     for (Index = 0; Index < gPciRootHpcCount; Index++) {\r
 \r
-      if (!gPciRootHpcData[Index].Initialized) {\r
+      if (gPciRootHpcData[Index].Found && !gPciRootHpcData[Index].Initialized) {\r
         break;\r
       }\r
     }\r