[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)
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

Simple merge