• A
    libata: workaround DRQ=1 ERR=1 for ATAPI tape drives · 2d3b8eea
    Albert Lee 提交于
    After an error condition, some ATAPI tape drives set DRQ=1 together
    with ERR=1 when asking the host to transfer the CDB of the next packet
    command (i.e. request sense).  This patch, a revised version of
    Alan/Mark's previous patch, adds ATA_HORKAGE_STUCK_ERR to workaround
    the problem by ignoring the ERR bit and proceed sending the CDB.
    Signed-off-by: NAlbert Lee <albertcc@tw.ibm.com>
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Cc: Mark Lord <liml@rtr.ca>
    Signed-off-by: NTejun Heo <htejun@gmail.com>
    2d3b8eea
libata-core.c 191.1 KB