• Mark Lord's avatar
    libata sata_qstor workaround for spurious interrupts · 904c7bad
    Mark Lord authored
    sata_qstor workaround for spurious interrupts.
    
    The qstor hardware generates spurious interrupts from time to time when
    switching in and out of packet mode.  These eventually result in the
    IRQ being disabled, which kills other devices sharing this IRQ with us.
    
    This workaround isn't perfect, but it's about the best we can do for
    this hardware.  Spurious interrupts will still happen, but won't be
    logged as such, and therefore won't cause the IRQ to be inadvertently
    disabled.
    Signed-off-by: default avatarMark Lord <mlord@pobox.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    904c7bad
sata_qstor.c 18.1 KB