aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-disk.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:15 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:15 -0500
commitcf77249ee1a37aab37f39ea1dde9a53c23693655 (patch)
tree0e980426d5821e700230be3549517d494dc792be /drivers/ide/ide-disk.c
parent7c0e26661dd104aaeb1391063cc986ddc0ac4aa4 (diff)
ide-disk: fix __ide_do_rw_disk() to use ->OUTBSYNC
Fix __ide_do_rw_disk() to use ->OUTBSYNC instead of ->OUTB (needed for pmac and scc_pata host drivers). Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-disk.c')
-rw-r--r--drivers/ide/ide-disk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c
index d9a4fe27685d..7b4f677f7f7f 100644
--- a/drivers/ide/ide-disk.c
+++ b/drivers/ide/ide-disk.c
@@ -247,8 +247,7 @@ static ide_startstop_t __ide_do_rw_disk(ide_drive_t *drive, struct request *rq,
247 command = lba48 ? WIN_WRITE_EXT : WIN_WRITE; 247 command = lba48 ? WIN_WRITE_EXT : WIN_WRITE;
248 } 248 }
249 249
250 /* FIXME: ->OUTBSYNC ? */ 250 hwif->OUTBSYNC(drive, command, IDE_COMMAND_REG);
251 hwif->OUTB(command, IDE_COMMAND_REG);
252 251
253 return pre_task_out_intr(drive, rq); 252 return pre_task_out_intr(drive, rq);
254 } 253 }