An-Nyoung. This is part of patchset series described in [T]. This is the third take of add-NCQ-support patchset. Changes from the last take [L] are * ap->qactive is renamed to ap->qc_allocated and ap->qc_active is added. ap->qc_active records currently active qcs NCQ or not. A helper function ata_qc_complete_multipl() is added. This function completes multiple qcs according to ap->qc_active and new @qc_active value. These are used to implement NCQ qc completion and will also be used by PM support. * EH reads log page 10h if ehi is marked with device error but no qc is marked with error, which indicates that LLDD detected device error but doesn't know which qc has caused it. This exactly corresponds to NCQ device error condition and thus implementation becomes much simpler. This patchset is against upstream (acc696d93dcf993dec123d69d599979e1456ffec) + [1] prep-for-new-EH patchset + [2] new-EH-framework patchset, take 3 + [3] new-EH-implementation patchset, take 3 + [4] merge-irq-pio patchset -- tejun [T] http://article.gmane.org/gmane.linux.ide/9957 [L] http://article.gmane.org/gmane.linux.ide/9555 [1] http://article.gmane.org/gmane.linux.ide/9959 [2] http://article.gmane.org/gmane.linux.ide/9984 [3] http://article.gmane.org/gmane.linux.ide/9995 [4] http://article.gmane.org/gmane.linux.ide/10005 - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html