提交 6bc0d390 编写于 作者: T Tejun Heo 提交者: Jeff Garzik

sata_inic162x: kill PORT_PRD_ADDR initialization

sata_inic162x doesn't use PRD anymore.  No need to initialize it.
Signed-off-by: NTejun Heo <tj@kernel.org>
Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 3e4ec344
...@@ -668,8 +668,7 @@ static void init_port(struct ata_port *ap) ...@@ -668,8 +668,7 @@ static void init_port(struct ata_port *ap)
memset(pp->pkt, 0, sizeof(struct inic_pkt)); memset(pp->pkt, 0, sizeof(struct inic_pkt));
memset(pp->cpb_tbl, 0, IDMA_CPB_TBL_SIZE); memset(pp->cpb_tbl, 0, IDMA_CPB_TBL_SIZE);
/* setup PRD and CPB lookup table addresses */ /* setup CPB lookup table addresses */
writel(ap->prd_dma, port_base + PORT_PRD_ADDR);
writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR); writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册