/* sc6000_dma_to_softcfg - Decode dma number into cfg code.  */
static __devinit unsigned char sc6000_dma_to_softcfg(int dma)
/* sc6000_dma_to_softcfg - Decode dma number into cfg code.  */
static __devinit unsigned char sc6000_dma_to_softcfg(int dma)
{
	unsigned char val = 0;
	switch (dma) {
	case 0:
		val = 1;
		break;
	case 1:
		val = 2;
		break;
	case 3:
		val = 3;
		break;
	default:
		break;
	}
	return val;
}