pci_match_id(9)

pci_match_id9

See if a pci device matches a given pci_id table

Usage

const struct pci_device_id * pci_match_id(const struct pci_device_id * ids, struct pci_dev * dev);

Arguments

ids

array of PCI device id structures to search in

dev

the PCI device structure to match against.

Overview

Used by a driver to check whether a PCI device present in the system is in its list of supported devices. Returns the matching pci_device_id structure or NULL if there is no match.

Deprecated, don't use this as it will not catch any dynamic ids that a driver might want to check for.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.