/* If the device reset operation is completed, then EFI_SUCCESS is returned. */
EFI_STATUS EFIAPI AtaPassThruResetDevice(IN EFI_ATA_PASS_THRU_PROTOCOL *This, IN UINT16 Port, IN UINT16 PortMultiplierPort)
/* If the device reset operation is completed, then EFI_SUCCESS is returned. */
EFI_STATUS EFIAPI AtaPassThruResetDevice(IN EFI_ATA_PASS_THRU_PROTOCOL *This, IN UINT16 Port, IN UINT16 PortMultiplierPort)
{
  ATA_ATAPI_PASS_THRU_INSTANCE  *Instance;
  LIST_ENTRY                    *Node;
  Instance = ATA_PASS_THRU_PRIVATE_DATA_FROM_THIS (This);
  Node = SearchDeviceInfoList (Instance, Port, PortMultiplierPort, EfiIdeHarddisk);
  if (Node == NULL) {
    return EFI_INVALID_PARAMETER;
  }
  return EFI_SUCCESS;
}