]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.c
Return from ProgramBar() after VF BARs are programmed.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / PciBusDxe / PciResourceSupport.c
index 603b518d9280d9470eefc78dbc671a05c1d4fa59..cca365370faf9a9ffaa727e0316b08e9f011b7f5 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   PCI resouces support functions implemntation 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
@@ -1291,6 +1291,7 @@ ProgramBar (
   //\r
   if (Node->Virtual) {\r
     ProgramVfBar (Base, Node);\r
+    return;\r
   }\r
 \r
   Address = 0;\r