]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commita26e6f7dccb25730fb0f83cea09d8ed1b5f5d0c0
tree70a17d139824c671f898c2cda7babeb1c7860636
parent1449b0ca00458ce67dc2aaf90bb2e9ab8fb4f0fb
[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