]> err.no Git - linux-2.6/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)
commit6bbfd53d47abd1fb20d7c93a9b19a75970b66f49
tree9c28b3b033e32dd5a03c08b61bdddcd79283791f
parent73946f9fc5be1433f1e182d11303188390ff242f
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