Page MenuHomeFreeBSD

linuxkpi: Add `pci_get_base_class()`
ClosedPublic

Authored by dumbbell on Jan 31 2025, 2:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 28, 9:29 AM
Unknown Object (File)
Thu, May 28, 5:54 AM
Unknown Object (File)
May 27 2026, 1:03 AM
Unknown Object (File)
May 26 2026, 8:51 AM
Unknown Object (File)
May 21 2026, 12:24 PM
Unknown Object (File)
May 10 2026, 5:30 AM
Unknown Object (File)
May 10 2026, 5:22 AM
Unknown Object (File)
May 10 2026, 12:11 AM
Subscribers

Details

Summary

Why

This new API is used by the amdgpu DRM driver is Linux 6.7.

How

This is the same as pci_get_class() except that it searches a PCI device matching the base class only; 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