Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 02-23-2009, 01:45 PM   #1
LQ Newbie
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Writing PCIe device driver


I'm trying to port a device driver from PCI to PCI Express. I wrote the driver for PCI, but I'm wondering what the differences/similarities are between PCI and PCIe? I've read Linux Device Drive 3rd Ed. and done lots of searching on the subject, but found little information on PCIe. The PCI device driver is character and uses memory-mapping.

I tried to use the PCI Express Port Bus Driver ( but I think it's overkill/not necessary for what I want. I'm not 100% sure though. I only need one device driver to access the PCIe device at once, don't need hot plug support, advanced error reporting etc.

Any help is greatly appreciated. If you need any more info or have additional questions please just ask.



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
Doubts about PCIe device driver rwpa Linux - Newbie 4 12-10-2008 08:25 AM
What is the Linux difference between PCIE and PCI device driver? jbreaka4lyfe Linux - General 0 06-04-2008 02:54 PM
Help in writing device driver ankit_chaudhri Programming 3 11-13-2007 11:50 AM
Writing Device Driver... okeyla Programming 3 05-18-2005 07:41 AM
Need help in writing device driver eshwar_ind Programming 1 02-07-2004 03:46 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:41 PM.

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