]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/Library/DuetBdsLib/BdsPlatform.c
if module doesn't explicitly depend on specific Pci spec, it should include IndustryS...
[mirror_edk2.git] / DuetPkg / Library / DuetBdsLib / BdsPlatform.c
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