]> git.proxmox.com Git - mirror_edk2.git/commit
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)
commit4c33f8b190a439bb931a92eb63eb3cc1806c7ccc
tree39f345c41e541523685f83dc6ddb23a0da6509e4
parentbd907fb6386560e621112beca7b7d381d0003967
MdeModulePkg AtaBusDxe: Fix ATA commands cannot be sent to some devices

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>
MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c