diff options
author | Tejun Heo <tj@kernel.org> | 2010-05-10 21:41:41 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-05-19 19:38:54 +0200 |
commit | f60d70113fa04e32aee2dedbf304a48469c9c45c (patch) | |
tree | 6e74f483773dfae0adda0faa8754b5ce6129d8f7 /drivers/ata/sata_svw.c | |
parent | libata-sff: ata_sff_[dumb_]qc_prep are BMDMA specific (diff) | |
download | linux-f60d70113fa04e32aee2dedbf304a48469c9c45c.tar.xz linux-f60d70113fa04e32aee2dedbf304a48469c9c45c.zip |
libata-sff: prd is BMDMA specific
struct ata_prd and ap->prd are BMDMA specific. Add bmdma_ prefix to
them and move them inside CONFIG_ATA_SFF.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/sata_svw.c')
-rw-r--r-- | drivers/ata/sata_svw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_svw.c b/drivers/ata/sata_svw.c index 7257f2d5c52c..101fd6a19829 100644 --- a/drivers/ata/sata_svw.c +++ b/drivers/ata/sata_svw.c @@ -224,7 +224,7 @@ static void k2_bmdma_setup_mmio(struct ata_queued_cmd *qc) /* load PRD table addr. */ mb(); /* make sure PRD table writes are visible to controller */ - writel(ap->prd_dma, mmio + ATA_DMA_TABLE_OFS); + writel(ap->bmdma_prd_dma, mmio + ATA_DMA_TABLE_OFS); /* specify data direction, triple-check start bit is clear */ dmactl = readb(mmio + ATA_DMA_CMD); |