]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
vfio-pci: Allow PCI IDs to be specified as module options
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 7 Apr 2015 17:14:43 +0000 (11:14 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 7 Apr 2015 17:14:43 +0000 (11:14 -0600)
commit80c7e8cc2aaa36944acdfbce46f373101b9f21ff
tree4e0703332bd19c261fed8e44f61172ffee9b065b
parentecaa1f6a01544604de5f9531379a303eee886162
vfio-pci: Allow PCI IDs to be specified as module options

This copies the same support from pci-stub for exactly the same
purpose, enabling a set of PCI IDs to be automatically added to the
driver's dynamic ID table at module load time.  The code here is
pretty simple and both vfio-pci and pci-stub are fairly unique in
being meta drivers, capable of attaching to any device, so there's no
attempt made to generalize the code into pci-core.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci.c