/* This function is used by the IDE bus driver to get controller information. */
EFI_STATUS EFIAPI ScsiDiskInfoWhichIde(IN EFI_DISK_INFO_PROTOCOL *This, OUT UINT32 *IdeChannel, OUT UINT32 *IdeDevice)
/* This function is used by the IDE bus driver to get controller information. */
EFI_STATUS EFIAPI ScsiDiskInfoWhichIde(IN EFI_DISK_INFO_PROTOCOL *This, OUT UINT32 *IdeChannel, OUT UINT32 *IdeDevice)
{
  SCSI_DISK_DEV  *ScsiDiskDevice;
  if (CompareGuid (&This->Interface, &gEfiDiskInfoScsiInterfaceGuid) || CompareGuid (&This->Interface, &gEfiDiskInfoUfsInterfaceGuid)) {
    return EFI_UNSUPPORTED;
  }
  ScsiDiskDevice = SCSI_DISK_DEV_FROM_DISKINFO (This);
  *IdeChannel    = ScsiDiskDevice->Channel;
  *IdeDevice     = ScsiDiskDevice->Device;
  return EFI_SUCCESS;
}