\r
#define BDS_EFI_UNSUPPORT 0xFFFF\r
\r
-///\r
-/// USB host controller Programming Interface.\r
-///\r
-#define PCI_CLASSC_PI_UHCI 0x00\r
-#define PCI_CLASSC_PI_EHCI 0x20\r
-\r
/**\r
Check whether an instance in BlockIoDevicePath has the same partition node as the HardDriveDevicePath device path\r
\r
//\r
// Check the Usb console in Usb2.0 bus firstly, then Usb1.1 bus\r
//\r
- Status = BdsLibConnectUsbDevByShortFormDP (PCI_CLASSC_PI_EHCI, Instance);\r
+ Status = BdsLibConnectUsbDevByShortFormDP (PCI_IF_EHCI, Instance);\r
if (!EFI_ERROR (Status)) {\r
DeviceExist = TRUE;\r
}\r
\r
- Status = BdsLibConnectUsbDevByShortFormDP (PCI_CLASSC_PI_UHCI, Instance);\r
+ Status = BdsLibConnectUsbDevByShortFormDP (PCI_IF_UHCI, Instance);\r
if (!EFI_ERROR (Status)) {\r
DeviceExist = TRUE;\r
}\r