• Tejun Heo's avatar
    libata: clear TF before IDENTIFYing · 59e23e61
    Tejun Heo authored
    libata: clear TF before IDENTIFYing
    
    Some devices chock if Feature is not clear when IDENTIFY is issued.
    Set ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE for IDENTIFY such that whole
    TF is cleared when reading ID data.
    
    Kudos to Art Haas for testing various futile patches over several
    months and Mark Lord for pointing out the fix.
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    Cc: Art Haas <ahaas@airmail.net>
    Cc: Mark Lord <mlord@pobox.com>
    Cc: Chuck Ebbert <cebbert@redhat.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    59e23e61
libata-core.c 158 KB