mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 21:20:51 +07:00
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>
This commit is contained in:
parent
7c0e26661d
commit
cf77249ee1
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user