Page MenuHomeFreeBSD

pci: Add `pci_find_base_class_from()`
ClosedPublic

Authored by dumbbell on Jan 31 2025, 2:12 PM.
Tags
None
Referenced Files
F132281083: D48745.id150240.diff
Wed, Oct 15, 11:51 AM
Unknown Object (File)
Sat, Oct 4, 4:14 AM
Unknown Object (File)
Thu, Oct 2, 4:21 AM
Unknown Object (File)
Sep 13 2025, 6:38 AM
Unknown Object (File)
Aug 21 2025, 3:49 AM
Unknown Object (File)
Aug 10 2025, 1:58 PM
Unknown Object (File)
Aug 5 2025, 12:08 PM
Unknown Object (File)
Jul 27 2025, 10:33 AM
Subscribers

Details

Summary

Why

linuxkpi needs to export pci_get_base_class() for DRM drivers from Linux 6.7.

How

This new function searches a PCI device with the given base class and returns it, regardless of its subclass.

The behavior is the same as pci_find_class_from() but the subclass is ignored.

This is part of the update of DRM drivers to Linux 6.7.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable