[PATCH] libata: pass qc around intead of ap during PIO
authorTejun Heo <htejun@gmail.com>
Sun, 2 Apr 2006 09:51:53 +0000 (18:51 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 2 Apr 2006 14:09:20 +0000 (10:09 -0400)
commitc91af2c87e4048cdefcfc9f16fed8d728243c92d
tree346a50bed1b05bd144d755ba4281186877a432db
parent2719736779da2c7fbb17d3de16c817b429bfeb9c
[PATCH] libata: pass qc around intead of ap during PIO

The current code passes pointer to ap around and repeatedly performs
ata_qc_from_tag() to access the ongoing qc.  This is unnatural and
makes EH synchronization cumbersome.  Make PIO codes deal with qc
instead of ap.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c