diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 19:55:51 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 19:55:51 +0200 |
commit | c6dfa867bb45f4bff2e48f3bc89ab1d6a7ab4c21 (patch) | |
tree | 54d9322fad75e48fb548e182fbb87d06a06cd048 /drivers/scsi | |
parent | ebb00fb55d0566bb3e81518122a57b4b3bedf1e4 (diff) | |
download | kernel_samsung_smdk4412-c6dfa867bb45f4bff2e48f3bc89ab1d6a7ab4c21.zip kernel_samsung_smdk4412-c6dfa867bb45f4bff2e48f3bc89ab1d6a7ab4c21.tar.gz kernel_samsung_smdk4412-c6dfa867bb45f4bff2e48f3bc89ab1d6a7ab4c21.tar.bz2 |
ide: add ->exec_command method
Add ->exec_command method for writing ATA Command register
and use it instead of ->OUTBSYNC.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ide-scsi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c index f843c13..8012389 100644 --- a/drivers/scsi/ide-scsi.c +++ b/drivers/scsi/ide-scsi.c @@ -248,8 +248,7 @@ idescsi_atapi_error(ide_drive_t *drive, struct request *rq, u8 stat, u8 err) if (ide_read_status(drive) & (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++; |