/* This function is used by the IDE bus driver to get inquiry data. Data format of Identify data is defined by the Interface GUID. */
EFI_STATUS EFIAPI ScsiDiskInfoInquiry(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *InquiryData, IN OUT UINT32 *InquiryDataSize)
/* This function is used by the IDE bus driver to get inquiry data. Data format of Identify data is defined by the Interface GUID. */
EFI_STATUS EFIAPI ScsiDiskInfoInquiry(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *InquiryData, IN OUT UINT32 *InquiryDataSize)
{
  EFI_STATUS     Status;
  SCSI_DISK_DEV  *ScsiDiskDevice;
  ScsiDiskDevice = SCSI_DISK_DEV_FROM_DISKINFO (This);
  Status = EFI_BUFFER_TOO_SMALL;
  if (*InquiryDataSize >= sizeof (ScsiDiskDevice->InquiryData)) {
    Status = EFI_SUCCESS;
    CopyMem (InquiryData, &ScsiDiskDevice->InquiryData, sizeof (ScsiDiskDevice->InquiryData));
  }
  *InquiryDataSize = sizeof (ScsiDiskDevice->InquiryData);
  return Status;
}