]> git.proxmox.com Git - mirror_edk2.git/commitdiff
remove two duplication macros "PCI_CLASSC_PI_UHCI/PCI_CLASSC_PI_EHCI", which have...
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Jul 2009 06:11:49 +0000 (06:11 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Jul 2009 06:11:49 +0000 (06:11 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8993 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c

index b3c748c3f6fff5acfa56d883d64efc561434a755..eeae07f014e59967a881c92ab51d09e62fd73c89 100644 (file)
@@ -822,12 +822,6 @@ SetupResetReminder (
 \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
index a352d8084257e561bc0899887a204f8592d4690a..ab7879def1fd01205ff7a9c40c2904ce5884dd46 100644 (file)
@@ -370,12 +370,12 @@ BdsLibConnectConsoleVariable (
       //\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