Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    PCI Driver + DMA +Interrupt, How to?

    Hi any ine can point me or provide some PCI driver with DMA and Interrupt? I have checked LDD3 and Linux dacumentation but i dont know how to put all toguether.
    Just a further explanation of what i want to do:

    I need to send some to may card and after some time it will send a burst of data as a master of the BUS using DMA, and receive a interrupt from DMA when transaction is over.

    Thank you!!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Since this is some of the most sensitive programming, kernel level device drivers, it is STRONGLY recommended that you read, review, and understand in detail how these drivers work directly by getting the code and studying it in great detail. Don't scrimp on this. There are too many details to cover in a forum like this. There are also some good ebooks freely available on the Internet that will help you understand in general ways what you need to do to write a kernel module and device driver, but these are never adequate in themselves. YOU MUST STUDY THE EXISTING CODE!
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    I m sorry, i think i was not enough clear. Thats exactly what i am looking for. Some existing code, but as simple as possible, that includes DMA and Interrupts on a PCI driver. Maybe there is some well known driver that is good to read and understand how it does works. Any advices? Or maybe some one made a custom PCI driver, i m not going to copy any existing driver anyway.

    Thank you!

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts