Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=121a09e590d54be840289c6feac840453aa999d9
Commit:     121a09e590d54be840289c6feac840453aa999d9
Parent:     0f7577434bcdf99456757b44d8911dc6e51c3178
Author:     Alan Cox <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 14 01:06:40 2008 -0800
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Tue Jan 15 16:35:21 2008 -0500

    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 <[EMAIL PROTECTED]>
    Cc: Tejun Heo <[EMAIL PROTECTED]>
    Cc: Jeff Garzik <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 include/linux/ata.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/linux/ata.h b/include/linux/ata.h
index 72ab808..e672e80 100644
--- a/include/linux/ata.h
+++ b/include/linux/ata.h
@@ -554,8 +554,6 @@ static inline int ata_drive_40wire(const u16 *dev_id)
 
 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to