aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-scsi.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-05-15 21:03:43 +0900
committerTejun Heo <htejun@gmail.com>2006-05-15 21:03:43 +0900
commitdedaf2b0365ccec50714fbde0b3215e7e94fa47c (patch)
treed98e2a928793e6072d4ff65b0e2ceedaa600e25d /drivers/scsi/libata-scsi.c
parent6cec4a3943bdfe46e2952bc246f17670f747be8d (diff)
downloadlinux-dedaf2b0365ccec50714fbde0b3215e7e94fa47c.tar.gz
[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 <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
0 files changed, 0 insertions, 0 deletions