]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/AhciPei: Use PCI_DEVICE_PPI to manage AHCI device
authorCzajkowski, Maciej <maciej.czajkowski@intel.com>
Mon, 1 Aug 2022 17:00:09 +0000 (01:00 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 5 Aug 2022 02:20:00 +0000 (02:20 +0000)
commita8f59e2eb44199040d2e1f747a6d950a25ed0984
treedf204bd517ebde3dccd967523b35388eb8a200ed
parent86757f0b4750f672f346d955f89e5b76430ba6b4
MdeModulePkg/AhciPei: Use PCI_DEVICE_PPI to manage AHCI device

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3907

This change modifies AhciPei library to allow usage both EDKII_PCI_DEVICE_PPI
and EDKII_PEI_ATA_AHCI_HOST_CONTROLLER_PPI to manage ATA HDD working under
AHCI mode.

Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Maciej Czajkowski <maciej.czajkowski@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.c
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.h
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.inf
MdeModulePkg/Bus/Ata/AhciPei/DevicePath.c
MdeModulePkg/MdeModulePkg.dsc