1PCI_MATCH_ID(9) Hardware Interfaces PCI_MATCH_ID(9)
2
3
4
6 pci_match_id - See if a pci device matches a given pci_id table
7
9 const struct pci_device_id *
10 pci_match_id(const struct pci_device_id * ids,
11 struct pci_dev * dev);
12
14 ids
15 array of PCI device id structures to search in
16
17 dev
18 the PCI device structure to match against.
19
21 Used by a driver to check whether a PCI device present in the system is
22 in its list of supported devices. Returns the matching pci_device_id
23 structure or NULL if there is no match.
24
25 Deprecated, don't use this as it will not catch any dynamic ids that a
26 driver might want to check for.
27
29Kernel Hackers Manual 3.10 June 2019 PCI_MATCH_ID(9)