LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2018, 11:40 AM   #1
onlyasians
LQ Newbie
 
Registered: Apr 2018
Posts: 6

Rep: Reputation: Disabled
Question PCI Multiple Driver Binding


Hello,

I have two drivers installed in my system that is associated with the same PCI device (Lets call them Driver A and Driver B). The OS seems to always bind with Driver A. I can switch between Driver A and Driver B by manually binding and unbinding through driver binding control under /sys/bus/pci/*DriverA/B*. However, I would like to know why the OS always binds with Driver A by default and how I would figure that out.

CentOS Linux

Thank you!
 
Old 04-11-2018, 12:31 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
The dependency file created by depmod determines which modules or module trees will load.
 
Old 04-17-2018, 11:47 PM   #3
X-LFS-2010
Member
 
Registered: Apr 2016
Posts: 510

Rep: Reputation: 58
check /etc/modules. i'm unsure if redhat still uses that file. it's a list of `default' modules to load at boot time. just edit it.

if it's NOT a module then you can't "un-bind" it i assume (binding was a feature of 1980's SCO - i doubt even a newer redhat is doing it )

(if your talking about a built-in 'static' kernel module/driver, then your choice is to specify kernel parameters via the boot loader config file. you'd have to see kernel code or docs to know what to do.)
 
  


Reply



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
Driver core binding device to driver and Udev loading driver module-difference? ayyasprings Linux - Embedded & Single-board computer 0 01-23-2016 01:44 PM
LXer: Identify PCI and USB Wired and Wireless Driver in Linux – Identify PCI Driver. Ubuntu, Debian, LXer Syndicated Linux News 0 08-20-2014 07:21 AM
Multiple IP Binding and Source IP Address Murdock1979 Linux - Networking 2 07-02-2012 06:15 AM
Bonding / Binding multiple interface into 1 netguy2000 Linux - Networking 1 05-27-2010 11:15 AM
Binding multiple IP's to the same eth0 int Jukas Linux - Networking 8 07-21-2006 11:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:43 AM.

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
Open Source Consulting | Domain Registration