]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sata_mv add temporary 3 second init delay for SiliconImage PMs
authorMark Lord <liml@rtr.ca>
Wed, 16 Apr 2008 19:01:19 +0000 (15:01 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 19:56:25 +0000 (15:56 -0400)
commit094e50b2f74146d8ee924fea4808e58c4ed2f163
tree75b86149297d70d21b8e18191ac67bea47f95902
parent8a74f1a4680614dfb77fc5dfd37d0ece13b2b357
sata_mv add temporary 3 second init delay for SiliconImage PMs

sata_mv does not yet fully support hotplug (coming soon, though).
This means that the driver may not find a Silicon Image port-multiplier
when first loaded, because those devices take in exceess of 3 seconds
to sync up the SATA PHY (most devices do this in mere microseconds).

So, as a short-term interim measure, here we insert a 3-second pause
on initial driver load, once per controller board (not once per port!),
to allow the Silicon Image port-multipliers to be detected later.

This will be removed again (soon!) once hotplug is fully implemented/working.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c