match_pci_device(9)
πΈ 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 apci_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:
for_each_padev(9)match_device(9)register_parisc_driver(9)count_parisc_driver(9)unregister_parisc_driver(9)find_pa_parent_type(9)print_pa_hwpath(9)get_pci_node_path(9)print_pci_hwpath(9)alloc_tree_node(9)register_parisc_device(9)match_parisc_device(9)parse_tree_node(9)hwpath_to_device(9)device_to_hwpath(9)walk_native_bus(9)walk_central_bus(9)init_parisc_bus(9)print_parisc_devices(9)
Signing off from ./arch/parisc/kernel, October 2026, with all the match_pci_device(9) energy πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms