[EMAIL PROTECTED] wrote:
From: Alan Cox <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
Cc: Tejun Heo <[EMAIL PROTECTED]>
Cc: Jeff Garzik <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
include/linux/ata.h | 2 --
1 file changed, 2 deletions(-)
diff -puN include/linux/ata.h~libata-correct-handling-of-tss-dvd
include/linux/ata.h
--- a/include/linux/ata.h~libata-correct-handling-of-tss-dvd
+++ a/include/linux/ata.h
@@ -554,8 +554,6 @@ static inline int ata_drive_40wire(const
static inline int ata_drive_40wire_relaxed(const u16 *dev_id)
{
- if (ata_id_is_sata(dev_id))
- return 0; /* SATA */
if ((dev_id[93] & 0x2000) == 0x2000)
return 0; /* 80 wire */
return 1;
Alan, is this .24 material?
There were a lot of different threads and BZs about this one device, and
I want to triple-check that multiple fixes are not being applied
independently for the same problem.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html