summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Library/PciLib.h
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-11 01:46:51 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-11 01:46:51 +0000
commitf754f721bf10508ca15c5c9243caa39c765662cf (patch)
treea30263d31dbc5cbe0d472c1ae870702d19111892 /MdePkg/Include/Library/PciLib.h
parent41f2ff0b85f3118238aeac8dfda3a657340519a5 (diff)
downloadedk2-platforms-f754f721bf10508ca15c5c9243caa39c765662cf.tar.xz
update codes per MdePkg doxgen review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8526 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Library/PciLib.h')
-rw-r--r--MdePkg/Include/Library/PciLib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Include/Library/PciLib.h b/MdePkg/Include/Library/PciLib.h
index 708571bfd3..b15f69b0da 100644
--- a/MdePkg/Include/Library/PciLib.h
+++ b/MdePkg/Include/Library/PciLib.h
@@ -10,7 +10,7 @@
these three libraries is identical. The PCI CF8 Library and PCI Express Library simply use
explicit access methods.
-Copyright (c) 2006 - 2008, Intel Corporation<BR>
+Copyright (c) 2006 - 2009, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -37,8 +37,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@return The encoded PCI address.
**/
-#define PCI_LIB_ADDRESS(Bus,Device,Function,Offset) \
- (((Offset) & 0xfff) | (((Function) & 0x07) << 12) | (((Device) & 0x1f) << 15) | (((Bus) & 0xff) << 20))
+#define PCI_LIB_ADDRESS(Bus,Device,Function,Register) \
+ (((Register) & 0xfff) | (((Function) & 0x07) << 12) | (((Device) & 0x1f) << 15) | (((Bus) & 0xff) << 20))
/**
Registers a PCI device so PCI configuration registers may be accessed after
@@ -167,7 +167,7 @@ PciAnd8 (
/**
Performs a bitwise AND of an 8-bit PCI configuration register with an 8-bit
- value, followed by a bitwise OR with another 8-bit value.
+ value, followed by a bitwise OR with another 8-bit value.
Reads the 8-bit PCI configuration register specified by Address, performs a
bitwise AND between the read result and the value specified by AndData,