This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

davinci_start_dma

 

Forum:

 

         Working on getting a driver written for an fpga

         on a TMS320DM644x custom board.

         The PCI Controller will be part of the fpga which

         will dma incoming data off of the PCI bus.

         I need to do a dma map to transfer the data into

         memory and then copy_to/from_user to get

         the info to/from the user applications.

          Have been looking at davinci_start_dma and other

          associated calls in dma.c to do this.

          My driver should receive notification of incoming

          data via interrupts defined with request_irq in the

         module_init routine(correct ??).  

          It looks like on reception of the interrupt, it is the

          time to run davinci_start_dma(and other associated setup calls)

          via tasklet_schedule().

          From looking at existing kernel driver code that calls davinci_start_dma

          I do not see the irq handler triggering the call to davinci_start_dma.

         What am I missing here?

 

                                                                       Jerry