/* DevicePathNode must be SCSI type and this will populate the MappingItem. */
EFI_STATUS DevPathSerialScsi(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
/* DevicePathNode must be SCSI type and this will populate the MappingItem. */
EFI_STATUS DevPathSerialScsi(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
{
  EFI_STATUS        Status;
  SCSI_DEVICE_PATH  *Scsi;
  ASSERT (DevicePathNode != NULL);
  ASSERT (MappingItem != NULL);
  Scsi   = (SCSI_DEVICE_PATH *)DevicePathNode;
  Status = AppendCSDNum (MappingItem, Scsi->Pun);
  if (!EFI_ERROR (Status)) {
    Status = AppendCSDNum (MappingItem, Scsi->Lun);
  }
  return Status;
}