]> err.no Git - linux-2.6/commitdiff
ide-disk: fix __ide_do_rw_disk() to use ->OUTBSYNC
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:15 +0000 (22:17 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:15 +0000 (22:17 +0100)
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>
drivers/ide/ide-disk.c

index d9a4fe27685df08aeb8adf3cfc718e0a035b45a0..7b4f677f7f7fc74658c41335bdcfbf3852ab2a5d 100644 (file)
@@ -247,8 +247,7 @@ static ide_startstop_t __ide_do_rw_disk(ide_drive_t *drive, struct request *rq,
                        command = lba48 ? WIN_WRITE_EXT : WIN_WRITE;
                }
 
-               /* FIXME: ->OUTBSYNC ? */
-               hwif->OUTB(command, IDE_COMMAND_REG);
+               hwif->OUTBSYNC(drive, command, IDE_COMMAND_REG);
 
                return pre_task_out_intr(drive, rq);
        }