diff options
author | Tejun Heo <tj@kernel.org> | 2010-05-10 15:41:41 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-05-19 13:38:54 -0400 |
commit | f60d70113fa04e32aee2dedbf304a48469c9c45c (patch) | |
tree | 6e74f483773dfae0adda0faa8754b5ce6129d8f7 /drivers/ata/sata_nv.c | |
parent | f47451c45fe0032ef491aaf3e0623fa0154e156d (diff) |
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_nv.c')
-rw-r--r-- | drivers/ata/sata_nv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c index 7a283d5d68f3..4863a62c3d8c 100644 --- a/drivers/ata/sata_nv.c +++ b/drivers/ata/sata_nv.c | |||
@@ -272,7 +272,7 @@ enum ncq_saw_flag_list { | |||
272 | }; | 272 | }; |
273 | 273 | ||
274 | struct nv_swncq_port_priv { | 274 | struct nv_swncq_port_priv { |
275 | struct ata_prd *prd; /* our SG list */ | 275 | struct ata_bmdma_prd *prd; /* our SG list */ |
276 | dma_addr_t prd_dma; /* and its DMA mapping */ | 276 | dma_addr_t prd_dma; /* and its DMA mapping */ |
277 | void __iomem *sactive_block; | 277 | void __iomem *sactive_block; |
278 | void __iomem *irq_block; | 278 | void __iomem *irq_block; |
@@ -2027,7 +2027,7 @@ static void nv_swncq_fill_sg(struct ata_queued_cmd *qc) | |||
2027 | struct ata_port *ap = qc->ap; | 2027 | struct ata_port *ap = qc->ap; |
2028 | struct scatterlist *sg; | 2028 | struct scatterlist *sg; |
2029 | struct nv_swncq_port_priv *pp = ap->private_data; | 2029 | struct nv_swncq_port_priv *pp = ap->private_data; |
2030 | struct ata_prd *prd; | 2030 | struct ata_bmdma_prd *prd; |
2031 | unsigned int si, idx; | 2031 | unsigned int si, idx; |
2032 | 2032 | ||
2033 | prd = pp->prd + ATA_MAX_PRD * qc->tag; | 2033 | prd = pp->prd + ATA_MAX_PRD * qc->tag; |