LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Good sites to research PCI programming (https://www.linuxquestions.org/questions/linux-hardware-18/good-sites-to-research-pci-programming-379006/)

cstrask 11-01-2005 12:48 PM

Good sites to research PCI programming
 
I am trying to develop a PCI device driver. I am looking for good references particularly the PCI portion. I have Rubini's Linux Device Drivers book. I am looking for more specifics.

paulsm4 11-04-2005 12:18 PM

Here are a few links I've found useful:

- Programming PCI-Devices under Linux, Claus Schroeter
ftp://ftp.llp.fu-berlin.de/pub/linux...ers/pcip.ps.gz

- How to Write Linux PCI Drivers, Martin Mares
http://www.charmed.com/txt/pci.txt
http://www.mega-tokyo.com/osfaq2/ind...%20on%20PCI%3F

- PCI subsystem:
http://www.tldp.org/LDP/tlk/dd/pci.html

- PCI programming FAQs:
http://database.sarang.net/study/OS/os-faq-pci.html
http://pciids.sourceforge.net/
http://members.datafast.net.au/dft0802/

- Ralf Brown's Interrupt List (aka "RBIL"; mirror site):
http://www-2.cs.cmu.edu/afs/cs/user/...WWW/files.html

- Bona Fide OS Development (every doc imaginable)
http://www.osdever.net/documents.php?cat=0&sort=1

And most especially (even though it's for DOS/Pascal and Windows), Craig Hart's PCI Tools:

http://members.datafast.net.au/dft08...nloads/pci.zip
http://members.datafast.net.au/dft0802/downloads.htm
http://members.datafast.net.au/dft0802/other.htm

PS: You have LDD 3rd edition, don't you?

PPS: Please consider getting Robert Love's "Linux Kernel Development", 2nd Edition, too. It's a great complement to the O'Reilly LDD text.

IMHO .. pSM

cstrask 11-04-2005 11:42 PM

Thank You
 
Thank you so much for your suggestions.

I found the Documentation/pci.txt & Documentation/IO-mapping.txt in my linux source directory to be extremely useful. Unfortunately, I found them after I posted my question.

The sitehttp://www.osdever.net/documents.php?cat=0&sort=1 does not seem to be up right now. I keep getting an error. I will keep checking.

I have the 3rd edition or Rubini's book and I think it is excellent. He covers PCI well, however, I think he over-concentrates on the pci configuration and under covers the steps needed to access/enable/use a pci device. He also discusses IO memory and IO ports -- I have read these sections many times, and I am still unsure what the difference between IO ports and IO memory. I know the x86 has a different instruction for reading ports but that is about it.

I have Love's Linux Kernel Development book. Honestly, I am not sure why I have not been using it as a reference. I will read over it tonight.

Thank you for your time and help.


All times are GMT -5. The time now is 03:20 AM.