mirror of
https://github.com/MiSTer-devel/Linux-Kernel_MiSTer.git
synced 2026-05-17 03:03:57 +00:00
v5.15.1
This commit is contained in:
@@ -16,6 +16,10 @@ typedef unsigned long kernel_ulong_t;
|
||||
|
||||
#define PCI_ANY_ID (~0)
|
||||
|
||||
enum {
|
||||
PCI_ID_F_VFIO_DRIVER_OVERRIDE = 1,
|
||||
};
|
||||
|
||||
/**
|
||||
* struct pci_device_id - PCI device ID structure
|
||||
* @vendor: Vendor ID to match (or PCI_ANY_ID)
|
||||
@@ -34,12 +38,14 @@ typedef unsigned long kernel_ulong_t;
|
||||
* Best practice is to use driver_data as an index
|
||||
* into a static list of equivalent device types,
|
||||
* instead of using it as a pointer.
|
||||
* @override_only: Match only when dev->driver_override is this driver.
|
||||
*/
|
||||
struct pci_device_id {
|
||||
__u32 vendor, device; /* Vendor and device ID or PCI_ANY_ID*/
|
||||
__u32 subvendor, subdevice; /* Subsystem ID's or PCI_ANY_ID */
|
||||
__u32 class, class_mask; /* (class,subclass,prog-if) triplet */
|
||||
kernel_ulong_t driver_data; /* Data private to the driver */
|
||||
__u32 override_only;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user