/* restart a DMA channel that's been stopped in circular addressing mode by comparison-end  */
void frv_dma_restart_circular(int dma, unsigned long six)
/* restart a DMA channel that's been stopped in circular addressing mode by comparison-end  */
void frv_dma_restart_circular(int dma, unsigned long six)
{
	unsigned long ioaddr = frv_dma_channels[dma].ioaddr;
	___set_DMAC(ioaddr, SIX,  six);
	___set_DMAC(ioaddr, CSTR, __get_DMAC(ioaddr, CSTR) & ~DMAC_CSTRx_CE);
	mb();
	__set_DMAC(ioaddr, CCTR, __get_DMAC(ioaddr, CCTR) | DMAC_CCTRx_ACT);
	frv_set_dma_inprogress(dma);
}