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