From: Mark Lord Date: Sat, 19 Apr 2008 18:53:07 +0000 (-0400) Subject: sata_mv: more interrupt handling rework X-Git-Tag: v2.6.26-rc1~1060^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f767f8a02e6c65d393fd0f2ca19a91c9898cc2d;p=pandora-kernel.git sata_mv: more interrupt handling rework Continue fixing the interrupt handling logic. Get rid of mv_intr_pio(), by using ata_sff_host_intr() for PIO.. Add a mv_unexpected_intr() catch-all for "impossible" scenarios, where we get an interrupt that shouldn't have happened (never seen in testing, but just in case..). Rearrange the logic so that we always process completed response queue entries before looking for other events, This avoids having to re-issue commands that had already succeeded. As part of this, we split out some duplicated functionality into a new function, mv_get_active_qc(). Signed-off-by: Mark Lord Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed