-#/** @file\r
-# Component name for module Ehci\r
-#\r
-# FIX ME!\r
-# Copyright (c) 2006, Intel Corporation. All right reserved.\r
-#\r
-# All rights reserved. This program and the accompanying materials\r
+## @file\r
+# \r
+# Component Description File For EhciDxe Module.\r
+# \r
+# EhciDxe driver is responsible for managing the behavior of EHCI controller. \r
+# It implements the interfaces of monitoring the status of all ports and transferring \r
+# Control, Bulk, Interrupt and Isochronous requests to Usb2.0 device.\r
+#\r
+# Note that EhciDxe driver is enhanced to guarantee that the EHCI controller get attached\r
+# to the EHCI controller before the UHCI driver attaches to the companion UHCI controller. \r
+# This way avoids the control transfer on a shared port between EHCI and companion host\r
+# controller when UHCI gets attached earlier than EHCI and a USB 2.0 device inserts.\r
+#\r
+# Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+#\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
#\r
-#**/\r
+##\r
\r
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
-#\r
-################################################################################\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = EhciDxe\r
FILE_GUID = BDFE430E-8F2A-4db0-9991-6F856594777E\r
- MODULE_TYPE = DXE_DRIVER\r
+ MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
\r
ENTRY_POINT = EhcDriverEntryPoint\r
\r
#\r
# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
#\r
-\r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
+# DRIVER_BINDING = gEhciDriverBinding \r
+# COMPONENT_NAME = gEhciComponentName\r
+# COMPONENT_NAME2 = gEhciComponentName2\r
#\r
-################################################################################\r
\r
-[Sources.common]\r
+[Sources]\r
UsbHcMem.h\r
EhciUrb.c\r
EhciReg.h\r
EhciReg.c\r
EhciDebug.h\r
ComponentName.c\r
+ ComponentName.h\r
EhciUrb.h\r
Ehci.h\r
EhciSched.h\r
Ehci.c\r
\r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-# this module.\r
-#\r
-################################################################################\r
-\r
[Packages]\r
MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
\r
-\r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-# this module.\r
-#\r
-################################################################################\r
+[FeaturePcd]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport ## SOMETIME_CONSUMES (enable/disable usb legacy support.)\r
\r
[LibraryClasses]\r
MemoryAllocationLib\r
UefiDriverEntryPoint\r
BaseMemoryLib\r
DebugLib\r
+ PcdLib\r
+ ReportStatusCodeLib\r
\r
-\r
-################################################################################\r
-#\r
-# Protocol C Name Section - list of Protocol and Protocol Notify C Names\r
-# that this module uses or produces.\r
-#\r
-################################################################################\r
+[Guids]\r
+ gEfiEventExitBootServicesGuid ## PRODUCES ## Event\r
\r
[Protocols]\r
- gEfiPciIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiUsb2HcProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
+ gEfiPciIoProtocolGuid ## TO_START\r
+ gEfiUsb2HcProtocolGuid ## BY_START\r
\r
+# [Event]\r
+# ##\r
+# # Periodic timer event for checking the result of interrupt transfer execution.\r
+# #\r
+# EVENT_TYPE_PERIODIC_TIMER ## PRODUCES\r
+#\r