Module Name: src Committed By: thorpej Date: Wed Jan 27 05:00:16 UTC 2021
Modified Files: src/sys/dev/pci: pci_subr.c pcivar.h Log Message: Introduce autoconfiguration helpers based around device_compatible_entry: - pci_compatible_match(): matches against the PCI ID. - pci_compatible_match_subsys(): matches against PCI SUBSYS ID. - pci_compatible_lookup(): look up entry by PCI ID. - pci_compatible_lookup_subsys(): look up entry by PCI SUBSYS ID. - pci_compatible_lookup_id(): look up entry by an arbitrary ID using the PCI ID code conventions. - Define PCI_COMPAT_EOL as a compat data array sentinel. To generate a diff of this commit: cvs rdiff -u -r1.224 -r1.225 src/sys/dev/pci/pci_subr.c cvs rdiff -u -r1.113 -r1.114 src/sys/dev/pci/pcivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.