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:
eric_tian 2009-07-24 06:11:49 +00:00
parent a261044cf5
commit 5f52bc92fe
2 changed files with 2 additions and 8 deletions

View File

@ -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

View File

@ -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;
}