]> err.no Git - linux-2.6/blobdiff - drivers/scsi/ide-scsi.c
ide: add ->read_status method
[linux-2.6] / drivers / scsi / ide-scsi.c
index f843c1383a4b599480fdd53c9887a1263132e294..2a86af91f64a186ebe808580466f07a4d08ac8cd 100644 (file)
@@ -246,10 +246,9 @@ idescsi_atapi_error(ide_drive_t *drive, struct request *rq, u8 stat, u8 err)
 {
        ide_hwif_t *hwif = drive->hwif;
 
-       if (ide_read_status(drive) & (BUSY_STAT | DRQ_STAT))
+       if (hwif->read_status(hwif) & (BUSY_STAT | DRQ_STAT))
                /* force an abort */
-               hwif->OUTBSYNC(hwif, WIN_IDLEIMMEDIATE,
-                              hwif->io_ports.command_addr);
+               hwif->exec_command(hwif, WIN_IDLEIMMEDIATE);
 
        rq->errors++;