ide: always use ->OUTBSYNC method for executing commands
Always use ->OUTBSYNC method for executing commands so the posting is done if needed (this affects only pmac and scc_pata host drivers at the moment). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@@ -593,7 +593,7 @@ int ide_driveid_update(ide_drive_t *drive)
|
||||
SELECT_MASK(drive, 1);
|
||||
ide_set_irq(drive, 1);
|
||||
msleep(50);
|
||||
hwif->OUTB(WIN_IDENTIFY, hwif->io_ports.command_addr);
|
||||
hwif->OUTBSYNC(drive, WIN_IDENTIFY, hwif->io_ports.command_addr);
|
||||
timeout = jiffies + WAIT_WORSTCASE;
|
||||
do {
|
||||
if (time_after(jiffies, timeout)) {
|
||||
|
Reference in New Issue
Block a user