]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg AtaBusDxe: Fix ATA commands cannot be sent to some devices
authorHao Wu <hao.a.wu@intel.com>
Mon, 11 Jul 2016 04:56:48 +0000 (12:56 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 12 Jul 2016 12:27:25 +0000 (20:27 +0800)
If there is no port multiplier (PortMultiplierPort = 0xFFFF), current code
in functions TransferAtaDevice() and TrustTransferAtaDevice() will always
set the DEV bit of the ATA device register. It causes that ATA commands
cannot be sent to some ATA hard drives.

Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>

No differences found