]> err.no Git - linux-2.6/commit
ahci: fix notification handling
authorTejun Heo <htejun@gmail.com>
Tue, 9 Oct 2007 06:02:23 +0000 (15:02 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:47 +0000 (14:55 -0400)
commit5f226c6bf78edab023ed1ea679531731d9df92a6
tree01e0dff1224476aa52c240ee958ec7948bb85cc6
parent1c954a4d9a9e351fa3509533fd8dd5f3821206cd
ahci: fix notification handling

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: Tejun Heo <htejun@gmail.com>
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c