]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BasePciLibPciExpress/PciLib.c
Code Scrub for MdePkg.
[mirror_edk2.git] / MdePkg / Library / BasePciLibPciExpress / PciLib.c
index 93f0af2cff1982a67102f286048c5f3a065bb653..33526a7d93f65de353e0cd35d16cab55bb90c786 100644 (file)
@@ -1,7 +1,8 @@
 /** @file\r
-  PCI Library using PC Express access.\r
+  PCI Library functions that use the 256 MB PCI Express MMIO window to perform PCI\r
+  Configuration cycles. Layers on PCI Express Library.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2008, Intel Corporation<BR>\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
@@ -15,7 +16,6 @@
 \r
 #include <Base.h>\r
 \r
-\r
 #include <Library/PciLib.h>\r
 #include <Library/PciExpressLib.h>\r
 \r
@@ -54,7 +54,7 @@ PciRead8 (
 \r
   @param  Address Address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Value   The value to write.\r
+  @param  Data    The value to write.\r
 \r
   @return The value written to the PCI configuration register.\r
 \r
@@ -63,10 +63,10 @@ UINT8
 EFIAPI\r
 PciWrite8 (\r
   IN      UINTN                     Address,\r
-  IN      UINT8                     Data\r
+  IN      UINT8                     Value\r
   )\r
 {\r
-  return PciExpressWrite8 (Address, Data);\r
+  return PciExpressWrite8 (Address, Value);\r
 }\r
 \r
 /**\r
@@ -382,7 +382,7 @@ PciRead16 (
 \r
   @param  Address Address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Value   The value to write.\r
+  @param  Data   The value to write.\r
 \r
   @return The value written to the PCI configuration register.\r
 \r
@@ -391,10 +391,10 @@ UINT16
 EFIAPI\r
 PciWrite16 (\r
   IN      UINTN                     Address,\r
-  IN      UINT16                    Data\r
+  IN      UINT16                    Value\r
   )\r
 {\r
-  return PciExpressWrite16 (Address, Data);\r
+  return PciExpressWrite16 (Address, Value);\r
 }\r
 \r
 /**\r
@@ -710,7 +710,7 @@ PciRead32 (
 \r
   @param  Address Address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Value   The value to write.\r
+  @param  Data    The value to write.\r
 \r
   @return The value written to the PCI configuration register.\r
 \r
@@ -719,10 +719,10 @@ UINT32
 EFIAPI\r
 PciWrite32 (\r
   IN      UINTN                     Address,\r
-  IN      UINT32                    Data\r
+  IN      UINT32                    Value\r
   )\r
 {\r
-  return PciExpressWrite32 (Address, Data);\r
+  return PciExpressWrite32 (Address, Value);\r
 }\r
 \r
 /**\r