ide-disk: guarantee 400ns delay after writing command register
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:15 +0000 (22:17 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:15 +0000 (22:17 +0100)
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-disk.c

index 7b4f677f7f7fc74658c41335bdcfbf3852ab2a5d..424207e67f9c27bf4fd0d0707d3c16319d4281c9 100644 (file)
@@ -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);
        }