]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/QemuNewBootOrderLib: adapt Q35 SATA PMPN to UEFI spec Mantis 1353
authorLaszlo Ersek <lersek@redhat.com>
Mon, 9 May 2016 11:32:26 +0000 (19:32 +0800)
committerHao Wu <hao.a.wu@intel.com>
Thu, 12 May 2016 06:18:49 +0000 (14:18 +0800)
commitd5aee61bfaaa57357d0c6790d61894ef5d2aab10
tree1c3b72407702e432257e27e6286b212d2918150e
parent79992d6e05e665394bdd003cc4c4b326060b621a
OvmfPkg/QemuNewBootOrderLib: adapt Q35 SATA PMPN to UEFI spec Mantis 1353

On the Q35 machine type of QEMU, there is no port multiplier connected to
the on-board SATA controller. Therefore the AtaAtapiPassThru driver update
for Mantis ticket 1353 <https://mantis.uefi.org/mantis/view.php?id=1353>
changes the middle number (the Port Multiplier Port Number) in the Sata()
device path nodes from 0x0 to 0xFFFF.

Adapt the translation from OpenFirmware in QemuNewBootOrderLib.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
OvmfPkg/Library/QemuNewBootOrderLib/QemuBootOrderLib.c