From 5f52bc92fe918ff7648a84ea33746cef32fa9e1a Mon Sep 17 00:00:00 2001 From: eric_tian Date: Fri, 24 Jul 2009 06:11:49 +0000 Subject: 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 --- IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h | 6 ------ IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h index b3c748c3f6..eeae07f014 100644 --- a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h +++ b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h @@ -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 diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c index a352d80842..ab7879def1 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c @@ -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; } -- cgit v1.2.3