]> git.baikalelectronics.ru Git - kernel.git/commit
libata: Spot bridge chips
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 22 Aug 2007 22:22:45 +0000 (23:22 +0100)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:37 +0000 (14:55 -0400)
commit1e6bbfcc93b81bd7eb483c7bb38061845a355192
tree49e8a37c3f6aeb24ee106969088ca351b4e3782c
parent05552f68fbc2d57d1ebc298fd712ba51d7f37395
libata: Spot bridge chips

If we have a PATA cable with a SATA drive on it then we've found a
bridge and we can flip the cable type. This fixes some cable detect
problems with SATA bridges on chipsets and misdetected cable types.

In theory cable detection and mode limiting is needed if you put a
SATA/PATA bridge on a 40 wire cable, but I see no way to deal with
that other than to point out its not a good idea anyway.

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