libata: correct handling of TSS DVD
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 14 Jan 2008 09:06:40 +0000 (01:06 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 15 Jan 2008 21:35:21 +0000 (16:35 -0500)
commit121a09e590d54be840289c6feac840453aa999d9
tree3787fdb9c29811d161049b669209b99dedf79f40
parent0f7577434bcdf99456757b44d8911dc6e51c3178
libata: correct handling of TSS DVD

Devices that misreport the validity bit for word 93 look like SATA.  If
they are on the blacklist then we must not test for SATA but assume 40 wire
in the 40 wire case (The TSSCorp reports 80 wire on SATA it seems!)

Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Tejun Heo <htejun@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
include/linux/ata.h