]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/AtaAtapiPassThruDxe: Support 4K bytes block size HDDs
authorFeng Tian <feng.tian@intel.com>
Fri, 22 May 2015 06:53:44 +0000 (06:53 +0000)
committererictian <erictian@Edk2>
Fri, 22 May 2015 06:53:44 +0000 (06:53 +0000)
The original code hard-codes block size to 512. But after ATA 7 spec,
the non-512 block size is also supported. The code is updated to
dynamically calculate the block size according to IDENTIFY data.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17495 6f19259b-4bc3-4df7-8a09-765794883524


No differences found