---
name: "pci_match_device"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_match_device"
---

# pci\_match\_device(9)

Tell if a PCI device structure has a matching

## NAME

pci\_match\_device - Tell if a PCI device structure has a matching

## SYNOPSIS

**const struct pci\_device\_id \* pci\_match\_device(struct pci\_driver \*** *drv***, struct pci\_dev \*** *dev***);**

## ARGUMENTS

*drv*

the PCI driver to match against

*dev*

the PCI device structure to match against

## DESCRIPTION

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.

## DESCRIPTION

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.

## COPYRIGHT
