]> git.proxmox.com Git - mirror_edk2.git/commitdiff
if module doesn't explicitly depend on specific Pci spec, it should include IndustryS...
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Jul 2009 06:18:30 +0000 (06:18 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Jul 2009 06:18:30 +0000 (06:18 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8998 6f19259b-4bc3-4df7-8a09-765794883524

DuetPkg/BiosVideoThunkDxe/BiosVideo.h
DuetPkg/Library/DuetBdsLib/BdsPlatform.c

index 406bb531435f5341f72e9b1562630e20f366b979..312bea50bee93b981bfaedc511a429ba39679084 100644 (file)
@@ -37,7 +37,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/DevicePathLib.h>\r
 \r
-#include <IndustryStandard/Pci22.h>\r
+#include <IndustryStandard/Pci.h>\r
 \r
 #include "VesaBiosExtensions.h"\r
 \r
index e9a8be3bd7658402b1ddf1a90b938daefc99abe5..3cbd082d26a84175aa7c30948f977f9a712f9745 100644 (file)
@@ -336,13 +336,13 @@ Returns:
         if (!EFI_ERROR (Status)) {\r
           if ((PCI_CLASS_SERIAL == Class[2]) &&\r
               (PCI_CLASS_SERIAL_USB == Class[1])) {\r
-            if (PCI_CLASSC_PI_UHCI == Class[0]) {\r
+            if (PCI_IF_UHCI == Class[0]) {\r
               //\r
               // Found the UHCI, then disable the legacy support\r
               //\r
               Command = 0;\r
               Status = PciIo->Pci.Write (PciIo, EfiPciIoWidthUint16, 0xC0, 1, &Command);\r
-            } else if (PCI_CLASSC_PI_EHCI == Class[0]) {\r
+            } else if (PCI_IF_EHCI == Class[0]) {\r
               //\r
               // Found the EHCI, then disable the legacy support\r
               //\r