• Tejun Heo's avatar
    ahci: fix notification handling · 5f226c6b
    Tejun Heo authored
    Asynchronous notification on ICH9 didn't work because it didn't write
    AN FIS into the RX area - it only updates SNotification.  Also,
    snooping SDB_FIS RX area is racy against further SDB FIS receptions.
    Let sata_async_notification() determine using SNTF if it's available
    and snoop RX area iff SNTF isn't available
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
ahci.c 55.7 KB