/* This function is used by the IDE bus driver to get controller information. */
EFI_STATUS EFIAPI AtaDiskInfoWhichIde(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 AtaDiskInfoWhichIde(IN EFI_DISK_INFO_PROTOCOL *This, OUT UINT32 *IdeChannel, OUT UINT32 *IdeDevice)
{
  ATA_DEVICE  *AtaDevice;
  AtaDevice   = ATA_DEVICE_FROM_DISK_INFO (This);
  *IdeChannel = AtaDevice->Port;
  *IdeDevice  = AtaDevice->PortMultiplierPort;
  return EFI_SUCCESS;
}