]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] libata: improve handling of diagostic fail (and hardware that misreports it)
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 12 Sep 2006 15:55:12 +0000 (16:55 +0100)
committerJeff Garzik <jeff@garzik.org>
Tue, 19 Sep 2006 05:58:00 +0000 (01:58 -0400)
commit35b38c05b02dcacd71a855b81650e00fedd9ad37
tree7465312f962467d8af3b24dd0f7510ea7113e010
parentadf300471eeaa44f99a18f8c97e441474284cde3
[PATCH] libata: improve handling of diagostic fail (and hardware that misreports it)

Our ATA probe code checks that a device is not reporting a diagnostic
failure during start up. Unfortunately at least one device seems to like
doing this - the Gigabyte iRAM.

This is only done for the master right now (which is fine for the iRAM
as it is SATA), as with PATA some combinations of ATAPI device seem to
fool the check into seeing a drive that isn't there if it is applied to
the slave.

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