diff options
author | Tian, Feng <feng.tian@intel.com> | 2014-04-30 03:36:14 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-04-30 03:36:14 +0000 |
commit | 73a9e82214f3b0935c8f05efa00a0997763f7294 (patch) | |
tree | 45bda992820eb971d10403b1900c653e40273feb /MdePkg | |
parent | 56dea5e177b4d9fc7e25b32c2e25963ad4068116 (diff) | |
download | edk2-platforms-73a9e82214f3b0935c8f05efa00a0997763f7294.tar.xz |
MdeModulePkg/ScsiDisk: Using back-off algorithm to dynamically adjust transfer length in a single SCSI/ATAPI transfer to reach best device compatibility.
Besides this, the patch also fixed:
1) Wrong return value in SenseDataLength field of packet field of EFI_EXT_SCSI_PASS_THRU protocol, it should reflect real sense data length we got.
2) Wrong logic in ScsiDiskRequestSenseKeys that the logic makes SenseData pointer unaligned compared with BlockIo.Media.IoAlign field.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tian, Feng <feng.tian@intel.com>
Reviewed-by: Zeng, Star <star.zeng@intel.com>
Reviewed-by: Fu, Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15491 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions