|
@@ -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 */
|
|
|
|
- writel(ap->prd_dma, port_base + PORT_PRD_ADDR);
|
|
|
|
|
|
+ /* setup CPB lookup table addresses */
|
|
writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR);
|
|
writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR);
|
|
}
|
|
}
|
|
|
|
|