Hi, 
     When porting gadget to kernel 2.4 from 2.6 , The files of DMA is difficult 
to handle. I find the  description about two API set  in dma.c :
      The revised OMAP DMA API in the 2.6 kernel is incompatible with the DMA 
API in the 2.4. kernel because the rototypes of some existing functions were 
changed.  This incomplete backport of parts of the 2.6 API is to make it  
easier to port OMAP drivers from the 2.6 kernel to the 2.4 kernel.
     Regarding omap_set_dma_transfer_params function , the definition in 2.6 is 
 :
void omap_set_dma_transfer_params(int lch, int data_type, int elem_count,
        int frame_count, int frame_sync, dma_device_t sync, int priority,
        int auto_init, int repeat, int end_prog, int omap31_comp_disable,
        int interrupt_enabled)

But the definition in 2.4 is:
void omap_set_dma_transfer_params(int lch, int data_type, int elem_count,
                                  int frame_count, int sync_mode)

How to port OMAP DMA API from 2.6 to 2.4?  Thanks a lot .

Best Regards
Terry
        




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to