linux/Documentation/PCI
Max Gurtovoy 343b725868 PCI: Add 'override_only' field to struct pci_device_id
Add 'override_only' field to struct pci_device_id to be used as part of
pci_match_device().

When set, a driver only matches the entry when dev->driver_override is
set to that driver.

In addition, add a helper macro named 'PCI_DEVICE_DRIVER_OVERRIDE' to
enable setting some data on it.

Next patch from this series will use the above functionality.

Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20210826103912.128972-10-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2021-08-26 10:36:51 -06:00
..
endpoint docs: PCI: endpoint: pci-endpoint-cfs.rst: avoid using ReST :doc:foo markup 2021-06-17 13:24:38 -06:00
acpi-info.rst docs: PCI: Replace non-breaking spaces to avoid PDF issues 2021-06-17 13:22:33 -06:00
boot-interrupts.rst docs: pci: boot-interrupts.rst: improve html output 2020-04-20 15:45:23 -06:00
index.rst Documentation: better locations for sysfs-pci, sysfs-tagging 2020-10-09 09:33:23 -06:00
msi-howto.rst Documentation: PCI: Fix pci_alloc_irq_vectors() function name typo 2019-12-30 08:21:29 -06:00
pci-error-recovery.rst Documentation: PCI: Fix typo in pci-error-recovery.rst 2021-06-01 11:01:40 -05:00
pci-iov-howto.rst Documentation: PCI: convert pci-iov-howto.txt to reST 2019-05-30 17:54:32 -05:00
pci.rst PCI: Add 'override_only' field to struct pci_device_id 2021-08-26 10:36:51 -06:00
pcieaer-howto.rst PCI/AER: Rationalize error status register clearing 2020-03-28 13:19:05 -05:00
pciebus-howto.rst Documentation PCI: Fix pciebus-howto.rst filename typo 2019-08-15 12:12:38 -05:00
sysfs-pci.rst Documentation: better locations for sysfs-pci, sysfs-tagging 2020-10-09 09:33:23 -06:00