/* DevicePathNode must be SerialLun type and this will populate the MappingItem. */
EFI_STATUS DevPathSerialLun(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
/* DevicePathNode must be SerialLun type and this will populate the MappingItem. */
EFI_STATUS DevPathSerialLun(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
{
  DEVICE_LOGICAL_UNIT_DEVICE_PATH  *Lun;
  ASSERT (DevicePathNode != NULL);
  ASSERT (MappingItem != NULL);
  Lun = (DEVICE_LOGICAL_UNIT_DEVICE_PATH *)DevicePathNode;
  return AppendCSDNum (MappingItem, Lun->Lun);
}