From: Tejun Heo Date: Mon, 10 May 2010 19:41:31 +0000 (+0200) Subject: sata_inic162x: kill PORT_PRD_ADDR initialization X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6bc0d390dd3dfb7be4325ad0685ae8ec2baf15a4;p=openwrt%2Fstaging%2Fblogic.git sata_inic162x: kill PORT_PRD_ADDR initialization sata_inic162x doesn't use PRD anymore. No need to initialize it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- 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); }