mvsata_ide: adjust port init sequence
authorAlbert Aribaud <[albert.aribaud@free.fr]>
Thu, 16 Sep 2010 15:00:30 +0000 (20:30 +0530)
committerWolfgang Denk <wd@denx.de>
Wed, 13 Oct 2010 07:35:54 +0000 (09:35 +0200)
commitd3497138ff352841da3573c7aa9df993c4afd136
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