Re: Sparc DMA driver example
"Luis F. Ortiz" <[email protected]>
| Newsgroups | gmane.linux.suse.sparc |
|---|---|
| Message-ID | <a05100300b9aea7733262@[192.168.0.10]> |
>Can anyone suggest driver source code (or documenation) that would be helpful >in writing a driver that uses DMA on a Sparc (Ultra 10, etc.) ? > >I am trying to find a overview of the operations required on the various >types of memory accessable from the driver. In the Linux kernel directory, there is a file called Documentation/DMA-mapping.txt that has most of the information that you want. It will tell you what you need to know to write 64/32 bit safe drivers that are architecture independent. If you need a copy, let me know. But I suspect you have it already. Much of the same is now covered in the Rubini/Corbet "Linux Device Drivers" book (second edition only) published by O'Rielly. It has the advantage of covering lots of other relevant topics to Linux device driver writers. -- Luis F. Ortiz