• Tejun Heo's avatar
    libata: clear TF before IDENTIFYing · 81afe893
    Tejun Heo authored
    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>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    81afe893
libata-core.c 153 KB