diff options
Diffstat (limited to 'drivers/scsi/ide-scsi.c')
-rw-r--r-- | drivers/scsi/ide-scsi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c index 1168fb0a713c..8f716da5b7de 100644 --- a/drivers/scsi/ide-scsi.c +++ b/drivers/scsi/ide-scsi.c | |||
@@ -256,7 +256,8 @@ idescsi_atapi_error(ide_drive_t *drive, struct request *rq, u8 stat, u8 err) | |||
256 | 256 | ||
257 | if (ide_read_status(drive) & (BUSY_STAT | DRQ_STAT)) | 257 | if (ide_read_status(drive) & (BUSY_STAT | DRQ_STAT)) |
258 | /* force an abort */ | 258 | /* force an abort */ |
259 | hwif->OUTB(WIN_IDLEIMMEDIATE, hwif->io_ports.command_addr); | 259 | hwif->OUTBSYNC(drive, WIN_IDLEIMMEDIATE, |
260 | hwif->io_ports.command_addr); | ||
260 | 261 | ||
261 | rq->errors++; | 262 | rq->errors++; |
262 | 263 | ||
@@ -573,7 +574,8 @@ static ide_startstop_t idescsi_issue_pc(ide_drive_t *drive, | |||
573 | return ide_started; | 574 | return ide_started; |
574 | } else { | 575 | } else { |
575 | /* Issue the packet command */ | 576 | /* Issue the packet command */ |
576 | hwif->OUTB(WIN_PACKETCMD, hwif->io_ports.command_addr); | 577 | hwif->OUTBSYNC(drive, WIN_PACKETCMD, |
578 | hwif->io_ports.command_addr); | ||
577 | return idescsi_transfer_pc(drive); | 579 | return idescsi_transfer_pc(drive); |
578 | } | 580 | } |
579 | } | 581 | } |