summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-disk.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 22:17:15 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 22:17:15 +0100
commita7bbd20b50fb12b3a604c396b3d8a3449a43edcc (patch)
treeaa71ed012ed9dc627fd607e262fa8993d01a4815 /drivers/ide/ide-disk.c
parentcf77249ee1a37aab37f39ea1dde9a53c23693655 (diff)
ide-disk: guarantee 400ns delay after writing command register
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-disk.c')
-rw-r--r--drivers/ide/ide-disk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c
index 7b4f677f7f7f..424207e67f9c 100644
--- a/drivers/ide/ide-disk.c
+++ b/drivers/ide/ide-disk.c
@@ -248,6 +248,7 @@ static ide_startstop_t __ide_do_rw_disk(ide_drive_t *drive, struct request *rq,
}
hwif->OUTBSYNC(drive, command, IDE_COMMAND_REG);
+ ndelay(400); /* FIXME */
return pre_task_out_intr(drive, rq);
}