summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-05-10 21:41:31 +0200
committerJeff Garzik <jgarzik@redhat.com>2010-05-17 22:49:04 -0400
commit6bc0d390dd3dfb7be4325ad0685ae8ec2baf15a4 (patch)
treea54989de334085b40624918aa972d991ed535552 /drivers/ata
parent3e4ec3443f70fbe144799ccf0b1c3797f78d1715 (diff)
downloadlinux-6bc0d390dd3dfb7be4325ad0685ae8ec2baf15a4.tar.gz
linux-6bc0d390dd3dfb7be4325ad0685ae8ec2baf15a4.tar.bz2
linux-6bc0d390dd3dfb7be4325ad0685ae8ec2baf15a4.zip
sata_inic162x: kill PORT_PRD_ADDR initialization
sata_inic162x doesn't use PRD anymore. No need to initialize it. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/sata_inic162x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/sata_inic162x.c b/drivers/ata/sata_inic162x.c
index 0ac6cdd9d1e8..d3e1bab2a7ad 100644
--- a/drivers/ata/sata_inic162x.c
+++ b/drivers/ata/sata_inic162x.c
@@ -668,8 +668,7 @@ static void init_port(struct ata_port *ap)
memset(pp->pkt, 0, sizeof(struct inic_pkt));
memset(pp->cpb_tbl, 0, IDMA_CPB_TBL_SIZE);
- /* setup PRD and CPB lookup table addresses */
- writel(ap->prd_dma, port_base + PORT_PRD_ADDR);
+ /* setup CPB lookup table addresses */
writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR);
}