]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h
Update to support to produce Component Name and & Component Name 2 protocol based...
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciDxe / Ehci.h
index 57c0c00084afad61c566fd39f4650e668e07cfcf..7eb61be05afa443eab5f7336b45fe455008d5e83 100644 (file)
@@ -23,18 +23,12 @@ Revision History
 #ifndef _EFI_EHCI_H_\r
 #define _EFI_EHCI_H_\r
 \r
-//\r
-// The package level header files this module uses\r
-//\r
+\r
 #include <PiDxe.h>\r
-//\r
-// The protocols, PPI and GUID defintions for this module\r
-//\r
+\r
 #include <Protocol/Usb2HostController.h>\r
 #include <Protocol/PciIo.h>\r
-//\r
-// The Library classes this module consumes\r
-//\r
+\r
 #include <Library/DebugLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/UefiDriverEntryPoint.h>\r
@@ -66,7 +60,7 @@ enum {
   EHC_SYNC_POLL_TIME        = 20 * EHC_STALL_1_MICROSECOND,\r
   EHC_ASYNC_POLL_TIME       = 50 * 10000UL,                 // The unit of time is 100us\r
 \r
-  EHC_TPL                   = TPL_NOTIFY,\r
+  EHC_TPL                   = TPL_NOTIFY\r
 };\r
 \r
 //\r
@@ -95,7 +89,7 @@ enum {
 \r
 #define EHC_FROM_THIS(a)   CR(a, USB2_HC_DEV, Usb2Hc, USB2_HC_DEV_SIGNATURE)\r
 \r
-typedef struct _USB2_HC_DEV {\r
+struct _USB2_HC_DEV {\r
   UINTN                     Signature;\r
   EFI_USB2_HC_PROTOCOL      Usb2Hc;\r
 \r
@@ -143,10 +137,11 @@ typedef struct _USB2_HC_DEV {
   // Misc\r
   //\r
   EFI_UNICODE_STRING_TABLE  *ControllerNameTable;\r
-} USB2_HC_DEV;\r
+};\r
 \r
 \r
-extern EFI_DRIVER_BINDING_PROTOCOL     gEhciDriverBinding;\r
-extern EFI_COMPONENT_NAME_PROTOCOL     gEhciComponentName;\r
+extern EFI_DRIVER_BINDING_PROTOCOL      gEhciDriverBinding;\r
+extern EFI_COMPONENT_NAME_PROTOCOL      gEhciComponentName;\r
+extern EFI_COMPONENT_NAME2_PROTOCOL     gEhciComponentName2;\r
 \r
 #endif\r