]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg: Handle Sata device path when optional para is not specified
authorDandan Bi <dandan.bi@intel.com>
Fri, 12 Oct 2018 02:18:26 +0000 (10:18 +0800)
committerLiming Gao <liming.gao@intel.com>
Wed, 24 Oct 2018 14:15:56 +0000 (22:15 +0800)
commit6d9b9bbb6148831de2ca545994f31e27b3d4c675
treeefbf2594329187324076622457f110edb2c2bd05
parentea1486c28127057b7f3059b8c3c74afe7912460f
MdePkg: Handle Sata device path when optional para is not specified

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1243

Sata device path format:Sata(HPN, PMPN, LUN)
According to UEFI Spec, the PMPN is an integer between
0 and 65535 and is optional. If not provided, the default is 0xFFFF.

This commit is to do the enhancement for Sata device path
when optional para is not specified.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c