[PATCH] libata: Fix a drive detection problem
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 22 Mar 2006 15:52:40 +0000 (15:52 +0000)
committerJeff Garzik <jeff@garzik.org>
Thu, 23 Mar 2006 00:55:40 +0000 (19:55 -0500)
commit09c7ad79dc62c499bb03d1ee92f838db2fc776c5
tree70a17d139824c671f898c2cda7babeb1c7860636
parent7c74ffd072fbe44b6039223982f2dc76840ac4f5
[PATCH] libata: Fix a drive detection problem

The current code follows the spec but uses an overlong delay. This would
be great if the hardware did. Several vendors however forget the D7
pulldown. Fortunately 0xFF isnt a sane reset state so we can use it to
skip detection as is done in drivers/ide. (ie this is a tested solution
over a long time)

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c