]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mvsata_ide: adjust port init sequence
authorAlbert Aribaud <[albert.aribaud@free.fr]>
Thu, 16 Sep 2010 15:00:30 +0000 (20:30 +0530)
committerPrafulla Wadaskar <prafulla@marvell.com>
Tue, 12 Oct 2010 09:09:15 +0000 (14:39 +0530)
commit7054cfda6501d67b6796fb1b140655fe2b91aed5
tree95060ece56f4f427ffd13de8536adf40b426261a
parentd778a2fbb360530395dfbc0dbe1f80b7bf959028
mvsata_ide: adjust port init sequence

mvsata_ide_initialize_port(): adjust init sequence (SStatus
should be checked only after all writes to SControl) and
return success/failure to ide_preinit().

Also, as some tests showed init durations in the hundreds
of us, raise the time-out to 01 ms to be on the safe side.

Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
drivers/block/mvsata_ide.c