libata-sff: ata_sff_[dumb_]qc_prep are BMDMA specific
authorTejun Heo <tj@kernel.org>
Mon, 10 May 2010 19:41:40 +0000 (21:41 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 19 May 2010 17:36:50 +0000 (13:36 -0400)
commitf47451c45fe0032ef491aaf3e0623fa0154e156d
tree3e2901991480836be75f75288c2220ef086fe694
parentfe06e5f9b7c61dc567edace3f4909672067f7d7e
libata-sff: ata_sff_[dumb_]qc_prep are BMDMA specific

Both qc_prep functions deal only with BMDMA PRD setup and PIO only SFF
drivers don't need them.  Rename to ata_bmdma_[dumb_]qc_prep() and
relocate.

All usages are renamed except for pdc_adma and sata_qstor.  Those two
drivers are not BMDMA drivers and don't need to call BMDMA qc_prep
functions.  Calls to ata_sff_qc_prep() in the two drivers are removed.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-sff.c
drivers/ata/pata_atiixp.c
drivers/ata/pata_cs5520.c
drivers/ata/pata_cs5530.c
drivers/ata/pata_sc1200.c
drivers/ata/pdc_adma.c
drivers/ata/sata_nv.c
drivers/ata/sata_qstor.c
include/linux/libata.h