v2: Make sure whole code changes pass ECC check. 1/4: Remove unneeded comments. 2/4: Add comments to describe how to deal the value other than 0 and 1. 4/4: ECC fix. Change AhciEnableDevSlp() to return when "DeviceSleepEnable != 1" instead of "DeviceSleepEnable == 0".
Ruiyu Ni (4): MdeModulePkg/AtaAtapiPassThru: Spin up Power up in Standby devices MdeModulePkg: Add AtaAtapiPolicy protocol definition MdeModulePkg/AtaAtapiPassThru: enable/disable PUIS per policy MdeModulePkg/Ata/AtaAtapiPassThru: Enable/disable DEVSLP per policy MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c | 392 ++++++++++++++++++++- MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.h | 23 +- .../Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c | 19 +- .../Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.h | 6 +- .../Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf | 3 +- MdeModulePkg/Include/Protocol/AtaAtapiPolicy.h | 59 ++++ MdeModulePkg/MdeModulePkg.dec | 2 + 7 files changed, 495 insertions(+), 9 deletions(-) create mode 100644 MdeModulePkg/Include/Protocol/AtaAtapiPolicy.h -- 2.16.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel