Question about DMA

From: Francis Moreau
Date: Sun Jan 27 2008 - 15:52:08 EST


Hello,

I have 2 questions regarding set_dma_addr(unsigned int channel,
unsigned int addr) helper.

1/ Why does the function take only one address ? I would expect it
to take both a source and a destination address for the dma controller
to transfer data.

2/ The type of address parameter is an unsigned int. Why isn't it a dma_addr_t
type ?

Thanks !
--
Francis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/