LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-01-2005, 12:48 PM   #1
cstrask
LQ Newbie
 
Registered: Oct 2005
Location: California
Distribution: FC3
Posts: 6

Rep: Reputation: 0
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.
 
Old 11-04-2005, 12:18 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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

Last edited by paulsm4; 11-04-2005 at 12:20 PM.
 
Old 11-04-2005, 11:42 PM   #3
cstrask
LQ Newbie
 
Registered: Oct 2005
Location: California
Distribution: FC3
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Research sites needed Fritz_Monroe Linux - General 2 10-06-2005 01:04 PM
Awesome programming and open source sites WindowsBurner Programming 3 05-20-2004 08:59 PM
Any good how-to sites for Fedora? NickC Fedora 9 01-10-2004 03:44 PM
Good Windows help sites? fancypiper General 4 02-26-2003 12:00 PM
Where are famous forum and sites about linux programming? bobowd Linux - General 2 06-10-2002 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration