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: default avatarSergei Shtylyov <>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <>
parent 7c0e2666
......@@ -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;
hwif->OUTB(command, IDE_COMMAND_REG);
hwif->OUTBSYNC(drive, command, IDE_COMMAND_REG);
return pre_task_out_intr(drive, rq);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment