match_pci_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay bestie, welcome to match_pci_device(9) β€” the kernel helper that matches a pci device against a given hardware path entry. That’s literally the whole main-character job. πŸ’…


✨ SYNOPSIS ✨

int match_pci_device (struct device *dev , int index , struct
       hardware_path *modpath );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the generic device, and yes, it’s known to be contained by a pci_dev. 🫢
  • index β€” the current BC index.
  • modpath β€” the hardware path.

πŸ”₯ RETURN πŸ”₯

It returns true if the device matches the hardware path. That’s the verdict, periodt. βœ…


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./arch/parisc/kernel/drivers.c is the spot, and you should also go peek at:


Signing off from ./arch/parisc/kernel, October 2026, with all the match_pci_device(9) energy πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from