HomeFreeBSD

LinuxKPI: pci: implement for_each_pci_dev() and improve pci_get_device()

Description

LinuxKPI: pci: implement for_each_pci_dev() and improve pci_get_device()

Implement for_each_pci_dev() needed by a wireless driver update.
For that also improve pci_get_device() and add the functionality to
support the odev argument to start searching from that.

Sponsored by: The FreeBSD Foundation (intially)
MFC after: 3 days
Reviewed by: dumbbell
Differential Revision: https://reviews.freebsd.org/D52066

Details

Provenance
bzAuthored on Sep 4 2025, 8:20 PM
Reviewer
dumbbell
Differential Revision
D52066: LinuxKPI: pci: implement for_each_pci_dev() and improve pci_get_device()
Parents
rG9e792f7ef729: sys/netinet6: Fix SLAAC for interfaces with no /64 LL address
Branches
Unknown
Tags
Unknown