diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-28 17:44:38 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-28 17:44:38 -0400 |
commit | 32b3fe4fff0974d823a0c0d17d7b25690ecd5fc8 (patch) | |
tree | ede5f596c0770c206b6d75a9794fdb55b07aab93 /drivers/ide/ide-floppy.c | |
parent | 24cc434acc2b3aaf70eba4ba20890eca5fcfa686 (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-floppy.c')
-rw-r--r-- | drivers/ide/ide-floppy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index e2bcd3af45db..b9983c4a1fac 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c | |||
@@ -696,7 +696,8 @@ static ide_startstop_t idefloppy_issue_pc(ide_drive_t *drive, | |||
696 | return ide_started; | 696 | return ide_started; |
697 | } else { | 697 | } else { |
698 | /* Issue the packet command */ | 698 | /* Issue the packet command */ |
699 | hwif->OUTB(WIN_PACKETCMD, hwif->io_ports.command_addr); | 699 | hwif->OUTBSYNC(drive, WIN_PACKETCMD, |
700 | hwif->io_ports.command_addr); | ||
700 | return (*pkt_xfer_routine) (drive); | 701 | return (*pkt_xfer_routine) (drive); |
701 | } | 702 | } |
702 | } | 703 | } |