mirror of https://github.com/acidanthera/audk.git
remove two duplication macros "PCI_CLASSC_PI_UHCI/PCI_CLASSC_PI_EHCI", which have been defined in IndustryStandard/Pci.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8993 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a261044cf5
commit
5f52bc92fe
|
@ -822,12 +822,6 @@ SetupResetReminder (
|
|||
|
||||
#define BDS_EFI_UNSUPPORT 0xFFFF
|
||||
|
||||
///
|
||||
/// USB host controller Programming Interface.
|
||||
///
|
||||
#define PCI_CLASSC_PI_UHCI 0x00
|
||||
#define PCI_CLASSC_PI_EHCI 0x20
|
||||
|
||||
/**
|
||||
Check whether an instance in BlockIoDevicePath has the same partition node as the HardDriveDevicePath device path
|
||||
|
||||
|
|
|
@ -370,12 +370,12 @@ BdsLibConnectConsoleVariable (
|
|||
//
|
||||
// Check the Usb console in Usb2.0 bus firstly, then Usb1.1 bus
|
||||
//
|
||||
Status = BdsLibConnectUsbDevByShortFormDP (PCI_CLASSC_PI_EHCI, Instance);
|
||||
Status = BdsLibConnectUsbDevByShortFormDP (PCI_IF_EHCI, Instance);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
DeviceExist = TRUE;
|
||||
}
|
||||
|
||||
Status = BdsLibConnectUsbDevByShortFormDP (PCI_CLASSC_PI_UHCI, Instance);
|
||||
Status = BdsLibConnectUsbDevByShortFormDP (PCI_IF_UHCI, Instance);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
DeviceExist = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue