/* Retrieves the device type information of the SCSI Controller. */
EFI_STATUS EFIAPI ScsiGetDeviceType(IN EFI_SCSI_IO_PROTOCOL *This, OUT UINT8 *DeviceType)
/* Retrieves the device type information of the SCSI Controller. */
EFI_STATUS EFIAPI ScsiGetDeviceType(IN EFI_SCSI_IO_PROTOCOL *This, OUT UINT8 *DeviceType)
{
  SCSI_IO_DEV  *ScsiIoDevice;
  if (DeviceType == NULL) {
    return EFI_INVALID_PARAMETER;
  }
  ScsiIoDevice = SCSI_IO_DEV_FROM_THIS (This);
  *DeviceType  = ScsiIoDevice->ScsiDeviceType;
  return EFI_SUCCESS;
}