From: Tejun Heo Date: Mon, 15 May 2006 12:03:43 +0000 (+0900) Subject: [PATCH] libata-ncq: implement ap->qc_active, ap->sactive and complete helper X-Git-Tag: v2.6.18-rc1~1079^2~98^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dedaf2b0365ccec50714fbde0b3215e7e94fa47c;p=pandora-kernel.git [PATCH] libata-ncq: implement ap->qc_active, ap->sactive and complete helper Add ap->qc_active and ap->sactive, mask of all active qcs and libata's view of the SActive register, respectively. Also, implement ata_qc_complete_multiple() which takes new qc_active mask and complete multiple qcs according to the mask. These will be used to track NCQ commands and complete them. The distinction between ap->qc_active and ap->sactive is also useful for later PM implementation. Signed-off-by: Tejun Heo --- Reading git-diff-tree failed