summaryrefslogtreecommitdiff
path: root/DuetPkg
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-24 06:18:30 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-24 06:18:30 +0000
commit1a573c7ea2072bad42911afe24834696ab653ae8 (patch)
tree0bd2092f34bb19691e2857dc4cd6f18ad5b170a0 /DuetPkg
parent9910cfe7db9713ee73ebf08c816625549df20b57 (diff)
downloadedk2-platforms-1a573c7ea2072bad42911afe24834696ab653ae8.tar.xz
if module doesn't explicitly depend on specific Pci spec, it should include IndustryStandard/Pci.h rather than Pcixxx.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8998 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg')
-rw-r--r--DuetPkg/BiosVideoThunkDxe/BiosVideo.h2
-rw-r--r--DuetPkg/Library/DuetBdsLib/BdsPlatform.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/DuetPkg/BiosVideoThunkDxe/BiosVideo.h b/DuetPkg/BiosVideoThunkDxe/BiosVideo.h
index 406bb53143..312bea50be 100644
--- a/DuetPkg/BiosVideoThunkDxe/BiosVideo.h
+++ b/DuetPkg/BiosVideoThunkDxe/BiosVideo.h
@@ -37,7 +37,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/BaseMemoryLib.h>
#include <Library/DevicePathLib.h>
-#include <IndustryStandard/Pci22.h>
+#include <IndustryStandard/Pci.h>
#include "VesaBiosExtensions.h"
diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
index e9a8be3bd7..3cbd082d26 100644
--- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
+++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
@@ -336,13 +336,13 @@ Returns:
if (!EFI_ERROR (Status)) {
if ((PCI_CLASS_SERIAL == Class[2]) &&
(PCI_CLASS_SERIAL_USB == Class[1])) {
- if (PCI_CLASSC_PI_UHCI == Class[0]) {
+ if (PCI_IF_UHCI == Class[0]) {
//
// Found the UHCI, then disable the legacy support
//
Command = 0;
Status = PciIo->Pci.Write (PciIo, EfiPciIoWidthUint16, 0xC0, 1, &Command);
- } else if (PCI_CLASSC_PI_EHCI == Class[0]) {
+ } else if (PCI_IF_EHCI == Class[0]) {
//
// Found the EHCI, then disable the legacy support
//