mirror of https://gitee.com/openkylin/linux.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 <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
3e4ec3443f
commit
6bc0d390dd
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue