/* Allocate space for PRD table using ata_port_start(). Set PRD table address for PTERADD. (PRD Transfer End Read)  */
static int scc_port_start(struct ata_port *ap)
/* Allocate space for PRD table using ata_port_start(). Set PRD table address for PTERADD. (PRD Transfer End Read)  */
static int scc_port_start(struct ata_port *ap)
{
	void __iomem *mmio = ap->ioaddr.bmdma_addr;
	int rc;
	rc = ata_port_start(ap);
	if (rc)
		return rc;
	out_be32(mmio + SCC_DMA_PTERADD, ap->prd_dma);
	return 0;
}