diff options
author | Tejun Heo <tj@kernel.org> | 2010-05-10 15:41:31 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-05-17 22:49:04 -0400 |
commit | 6bc0d390dd3dfb7be4325ad0685ae8ec2baf15a4 (patch) | |
tree | a54989de334085b40624918aa972d991ed535552 /drivers/ata | |
parent | 3e4ec3443f70fbe144799ccf0b1c3797f78d1715 (diff) |
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.c | 3 |
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) | |||
668 | memset(pp->pkt, 0, sizeof(struct inic_pkt)); | 668 | memset(pp->pkt, 0, sizeof(struct inic_pkt)); |
669 | memset(pp->cpb_tbl, 0, IDMA_CPB_TBL_SIZE); | 669 | memset(pp->cpb_tbl, 0, IDMA_CPB_TBL_SIZE); |
670 | 670 | ||
671 | /* setup PRD and CPB lookup table addresses */ | 671 | /* setup CPB lookup table addresses */ |
672 | writel(ap->prd_dma, port_base + PORT_PRD_ADDR); | ||
673 | writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR); | 672 | writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR); |
674 | } | 673 | } |
675 | 674 | ||