summaryrefslogtreecommitdiffstats
path: root/DuetPkg/PciBusNoEnumerationDxe
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-27 01:52:32 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-27 01:52:32 +0000
commitbc14bdb317105f282ca5e6543e97ae545dd681df (patch)
treeef82bdce16719c2dd9a9c56963324633082a347a /DuetPkg/PciBusNoEnumerationDxe
parentefe08f48c555f56f16b568098e4d7047ce1e7e84 (diff)
downloadedk2-bc14bdb317105f282ca5e6543e97ae545dd681df.tar.gz
edk2-bc14bdb317105f282ca5e6543e97ae545dd681df.tar.bz2
edk2-bc14bdb317105f282ca5e6543e97ae545dd681df.zip
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/PciBusNoEnumerationDxe')
-rw-r--r--DuetPkg/PciBusNoEnumerationDxe/PciBus.h4
-rw-r--r--DuetPkg/PciBusNoEnumerationDxe/PciCommand.c2
-rw-r--r--DuetPkg/PciBusNoEnumerationDxe/PciOptionRomSupport.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
index 568f3ffb6b..db5215ca1b 100644
--- a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
+++ b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
@@ -218,7 +218,7 @@ static UINT64 gAllZero = 0;
#include "PciPowerManagement.h"
-#define IS_ISA_BRIDGE(_p) IS_CLASS2 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_ISA)
-#define IS_INTEL_ISA_BRIDGE(_p) (IS_CLASS2 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_ISA_POSITIVE_DECODE) && ((_p)->Hdr.VendorId == 0x8086) && ((_p)->Hdr.DeviceId == 0x7110))
+#define IS_ISA_BRIDGE(_p) IS_CLASS2 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_ISA)
+#define IS_INTEL_ISA_BRIDGE(_p) (IS_CLASS2 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_ISA_PDECODE) && ((_p)->Hdr.VendorId == 0x8086) && ((_p)->Hdr.DeviceId == 0x7110))
#endif
diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciCommand.c b/DuetPkg/PciBusNoEnumerationDxe/PciCommand.c
index 1654952d03..61393edeb4 100644
--- a/DuetPkg/PciBusNoEnumerationDxe/PciCommand.c
+++ b/DuetPkg/PciBusNoEnumerationDxe/PciCommand.c
@@ -420,7 +420,7 @@ Returns:
PciIoDevice->PciIo.Pci.Read (
&PciIoDevice->PciIo,
EfiPciIoWidthUint32,
- EFI_PCI_CAPABILITY_PTR,
+ PCI_CAPBILITY_POINTER_OFFSET,
1,
&Temp
);
diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciOptionRomSupport.c b/DuetPkg/PciBusNoEnumerationDxe/PciOptionRomSupport.c
index 02815c76d3..a863475061 100644
--- a/DuetPkg/PciBusNoEnumerationDxe/PciOptionRomSupport.c
+++ b/DuetPkg/PciBusNoEnumerationDxe/PciOptionRomSupport.c
@@ -68,7 +68,7 @@ Returns:
//
// 0x30
//
- RomBarIndex = PCI_DEVICE_ROMBAR;
+ RomBarIndex = PCI_EXPANSION_ROM_BASE;
if (IS_PCI_BRIDGE (&PciIoDevice->Pci)) {
//
@@ -174,7 +174,7 @@ Returns:
//
// 0x30
//
- RomBarIndex = PCI_DEVICE_ROMBAR;
+ RomBarIndex = PCI_EXPANSION_ROM_BASE;
if (IS_PCI_BRIDGE (&(PciDevice->Pci))) {
//
// if is ppb