]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/AtaAtapiPassThru: Spin up Power up in Standby devices
authorRuiyu Ni <ruiyu.ni@intel.com>
Tue, 29 May 2018 02:51:25 +0000 (10:51 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Fri, 8 Jun 2018 09:46:44 +0000 (17:46 +0800)
commit8d3c4b552f81ff7aafbe50e555032a83aef1b0d8
treecbbf0191d16095f4d6dd635718b6bb864f697540
parentd78675d1956aaae05d5db872eddd4119a01d0ecb
MdeModulePkg/AtaAtapiPassThru: Spin up Power up in Standby devices

The patch adds support to certain devices that support PUIS (Power
up in Standby).
For those devices that supports SET_FEATURE spin up, SW needs to
send SET_FEATURE subcommand to spin up the devices.
For those devices that doesn't support SET_FEATURE spin up, SW needs
to send read sectors command to spin up the devices.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.h