]> git.baikalelectronics.ru Git - kernel.git/commit
libata: handle broken cable reporting
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 5 Nov 2007 22:58:58 +0000 (22:58 +0000)
committerJeff Garzik <jeff@garzik.org>
Mon, 5 Nov 2007 23:10:28 +0000 (18:10 -0500)
commit4583a28b0eea11c8d762101d422328073cfc6f89
tree9c28b3b033e32dd5a03c08b61bdddcd79283791f
parentc0cdd4f7093891b18895a278c6bfbbb88fa398da
libata: handle broken cable reporting

One or two ancient drives predated the cable spec and didn't sent the
valid bits for the field. I had hoped to leave this out of libata as a
piece of historical annoyance but a recent CD drive shows the same bug so
we have to import support for it.

Same concept as Bartlomiej's changes old IDE except that as we have
centralised blacklists we can avoid keeping another private table of stuff

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