]> err.no Git - linux-2.6/commit
libata: assume ATA_DEV_ATA on diagnostic failure
authorTejun Heo <htejun@gmail.com>
Sun, 2 Sep 2007 14:24:48 +0000 (23:24 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:39 +0000 (14:55 -0400)
commitd7fbee050753e153622b5d41bc8bd1cb19cda9b9
tree962b543b95bdea7e2b6f9393b64250396640a616
parent3f19859ee95a38c066a0420eb8a30c76ecd67a42
libata: assume ATA_DEV_ATA on diagnostic failure

Certain device which reports diagnostic failure also reports invalid
device signature.  Assume ATA_DEV_ATA on diagnostic failure if reset
indicates device presence.

This is fix for bugzilla bug 8784.

  http://bugzilla.kernel.org/show_bug.cgi?id=8784

Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Edward Amsden <amsden_linux@earthlink.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c