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 08-24-2012, 01:47 PM   #1
LQ Newbie
Registered: Jul 2012
Posts: 3

Rep: Reputation: Disabled
PCI Driver supports 2 different devices, how do I specify which device to use?

I am writing a driver that supports 2 different but similar devices. I am doing this so that the same library APIs can be used when writing apps for each device. I've got it working and everything runs fine for both devices when they're on separate machines, but I want to be able to have both devices on the same machine and specify which device to use in the user space app.

How do I specify which of the 2 devices I want to use in a user space app?
Old 08-24-2012, 02:54 PM   #2
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 785
Blog Entries: 2

Rep: Reputation: 75
Use a boot code for disabling the IRQ from one card or from the other one depending of the choice?


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
PCI Device Driver Question jxu1106 Linux - Kernel 4 04-28-2017 02:03 AM
How can I write a pci device driver??? hrmb Linux - Kernel 1 01-01-2010 05:47 PM
Accessing USB devices without device-driver barunparichha Linux - Software 5 07-22-2008 10:59 AM
PCI device driver for 64bit OS kushneeraj Linux - Kernel 0 08-07-2006 09:31 PM
PCI Device Driver bozkan Linux - Software 0 10-20-2004 09:51 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:43 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