aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-iops.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-28 17:44:38 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-28 17:44:38 -0400
commit32b3fe4fff0974d823a0c0d17d7b25690ecd5fc8 (patch)
treeede5f596c0770c206b6d75a9794fdb55b07aab93 /drivers/ide/ide-iops.c
parent24cc434acc2b3aaf70eba4ba20890eca5fcfa686 (diff)
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>
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r--drivers/ide/ide-iops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
index 1789fbab2daf..7f2b4edc6369 100644
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -593,7 +593,7 @@ int ide_driveid_update(ide_drive_t *drive)
593 SELECT_MASK(drive, 1); 593 SELECT_MASK(drive, 1);
594 ide_set_irq(drive, 1); 594 ide_set_irq(drive, 1);
595 msleep(50); 595 msleep(50);
596 hwif->OUTB(WIN_IDENTIFY, hwif->io_ports.command_addr); 596 hwif->OUTBSYNC(drive, WIN_IDENTIFY, hwif->io_ports.command_addr);
597 timeout = jiffies + WAIT_WORSTCASE; 597 timeout = jiffies + WAIT_WORSTCASE;
598 do { 598 do {
599 if (time_after(jiffies, timeout)) { 599 if (time_after(jiffies, timeout)) {