Files
linux/drivers/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
..
2021-07-06 10:56:29 -05:00
2021-07-06 10:56:25 -05:00
2020-08-05 18:24:16 -05:00
2021-03-11 17:37:20 -06:00
2021-06-16 17:20:40 -05:00
2021-07-06 10:56:26 -05:00
2020-07-29 14:25:18 -05:00
2021-07-06 10:56:25 -05:00
2021-06-04 09:21:07 -05:00
2021-07-06 10:56:29 -05:00
2021-07-13 13:59:12 -05:00
2021-02-10 16:46:29 -06:00
2020-08-05 18:23:14 -05:00
2021-05-04 10:43:23 -05:00
2021-03-19 04:58:25 +00:00