HomeFreeBSD

pci: Add pci_find_class_from

Description

pci: Add pci_find_class_from

pci_find_class_from help finding one or multiple device matching
a class and subclass.
If the from argument is not null we will first loop in the device list
until we find the matching device and only then start to check if the
class/subclass matches.

Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D27549

Details

Provenance
manuAuthored on Dec 10 2020, 5:38 PM
Reviewer
jhb
Differential Revision
D27549: pci: Add pci_find_class_from
Parents
rG8b1839548750: loader.efi: disable workaround for serial console on non-x86
Branches
Unknown
Tags
Unknown