Hi guys,
Anybody knows how to restrict loading of a kernel device driver to only one of many (in my case two) identical pieces of PCIe cards installed in the system? To be more specific, I have two identical SAS controllers installed in my server. The first SAS controller is used to boot the system thus the driver for the card must be built into the kernel.
Now the built-in driver should however be restricted to only bind to the boot PCIe SAS device and not touch the second (identical) PCIe device. This second device will then be used to be passed through to a virtual machine once the system is up. Clearly the two devices can be distinguished by their unique <domain>:<bus>:<device>:<func> data displayed by lspci. I have however not found any way of providing this data to the in-kernel driver.
The kernel driver btw is the mpt3sas driver used for LSI cards.
Any insight into this would be appreciated.
Thanks Atom2
