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)
Dec 11 2025, 4:51 PM
Unknown Object (File)
Dec 11 2025, 7:09 AM
Unknown Object (File)
Dec 11 2025, 1:40 AM
Unknown Object (File)
Nov 30 2025, 9:35 PM
Unknown Object (File)
Nov 26 2025, 10:45 PM
Unknown Object (File)
Nov 22 2025, 7:02 AM
Unknown Object (File)
Nov 17 2025, 5:17 AM
Unknown Object (File)
Nov 14 2025, 7:01 PM
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