REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4011 AHCI commands are retried internally which prevents platform feature like drive password to process correctly entered password on subsequent attempts. PCD allows the platform to determine the number of retries. Signed-off-by: Baraneedharan Anbazhagan <anbazhagan@hp.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
76 lines
2.2 KiB
INI
76 lines
2.2 KiB
INI
## @file
|
|
# AtaAtapiPassThru driver to provide native IDE/AHCI mode support.
|
|
#
|
|
# This driver installs AtaPassThru and ExtScsiPassThru protocol in each ide/sata controller
|
|
# to access to all attached Ata/Atapi devices.
|
|
#
|
|
# Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = AtaAtapiPassThruDxe
|
|
MODULE_UNI_FILE = AtaAtapiPassThruDxe.uni
|
|
FILE_GUID = 5E523CB4-D397-4986-87BD-A6DD8B22F455
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
VERSION_STRING = 1.0
|
|
ENTRY_POINT = InitializeAtaAtapiPassThru
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
|
#
|
|
# DRIVER_BINDING = gAtaAtapiPassThruDriverBinding
|
|
# COMPONENT_NAME = gAtaAtapiPassThruComponentName
|
|
# COMPONENT_NAME2 = gAtaAtapiPassThruComponentName2
|
|
#
|
|
#
|
|
|
|
[Sources]
|
|
AtaAtapiPassThru.c
|
|
AtaAtapiPassThru.h
|
|
AhciMode.c
|
|
AhciMode.h
|
|
IdeMode.c
|
|
IdeMode.h
|
|
ComponentName.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
DevicePathLib
|
|
UefiBootServicesTableLib
|
|
MemoryAllocationLib
|
|
BaseMemoryLib
|
|
UefiLib
|
|
BaseLib
|
|
UefiDriverEntryPoint
|
|
DebugLib
|
|
TimerLib
|
|
ReportStatusCodeLib
|
|
PcdLib
|
|
|
|
[Protocols]
|
|
gEfiAtaPassThruProtocolGuid ## BY_START
|
|
gEfiExtScsiPassThruProtocolGuid ## BY_START
|
|
gEfiIdeControllerInitProtocolGuid ## TO_START
|
|
gEfiDevicePathProtocolGuid ## TO_START
|
|
gEfiPciIoProtocolGuid ## TO_START
|
|
gEdkiiAtaAtapiPolicyProtocolGuid ## CONSUMES
|
|
|
|
[Pcd]
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdAtaSmartEnable ## SOMETIMES_CONSUMES
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdAhciCommandRetryCount ## SOMETIMES_CONSUMES
|
|
|
|
# [Event]
|
|
# EVENT_TYPE_PERIODIC_TIMER ## SOMETIMES_CONSUMES
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
AtaAtapiPassThruDxeExtra.uni
|