]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
Improve coding style in MdeModulePkg.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / PciBusDxe / PciEnumeratorSupport.c
index bf0e67e521548193de0e233418f0263d6daa4ea8..7d08246711b1fd9209edbbf5a1dda00508add3f8 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   PCI emumeration support functions implementation for PCI Bus module.\r
 \r
-Copyright (c) 2006 - 2009, Intel Corporation\r
+Copyright (c) 2006 - 2010, Intel Corporation\r
 All rights reserved. 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
@@ -2062,7 +2062,7 @@ CreatePciIoDevice (
   if ((PciIoDevice->SrIovCapabilityOffset != 0) && ((FeaturePcdGet(PcdSrIovSupport)& EFI_PCI_IOV_POLICY_SRIOV) != 0)) {\r
     UINT16    VFStride;\r
     UINT16    FirstVFOffset;\r
-    UINT32    PFRID;\r
+    UINT32    PFRid;\r
     UINT32    LastVF;\r
 \r
     //\r
@@ -2098,8 +2098,8 @@ CreatePciIoDevice (
     //\r
     // Calculate LastVF\r
     //\r
-    PFRID = EFI_PCI_RID(Bus, Device, Func);\r
-    LastVF = PFRID + FirstVFOffset + (PciIoDevice->InitialVFs - 1) * VFStride;\r
+    PFRid = EFI_PCI_RID(Bus, Device, Func);\r
+    LastVF = PFRid + FirstVFOffset + (PciIoDevice->InitialVFs - 1) * VFStride;\r
 \r
     //\r
     // Calculate ReservedBusNum for this PF\r