4 Feb
2009
4 Feb
'09
1:51 p.m.
Hi, Hans-Christian Egtvedt a écrit :
Yes, it should be possible to share the AC97C driver between AT91 and AVR32. Although this AC97C driver uses the DesignWare DMAC controller (drivers/dma/dw_dmac.c).
I do not remember which DMA interface AT91 devices uses.
Should the driver go into sound/drivers then? And renamed to atmel-ac97c.{c,h} for example.
Actually there are some differences, AT91 does not use a DMA, we use a specific IP(PDC) to transer the data...
Maybe we could share the same code we some #define in it?
Regards, Sedji