Page MenuHomeFreeBSD

linuxkpi: Add `pci_get_base_class()`
ClosedPublic

Authored by dumbbell on Jan 31 2025, 2:13 PM.
Tags
None
Referenced Files
F158088968: D48746.id150270.diff
Thu, May 28, 9:29 AM
F158075820: D48746.id150241.diff
Thu, May 28, 5:54 AM
Unknown Object (File)
Wed, May 27, 1:03 AM
Unknown Object (File)
Tue, May 26, 8:51 AM
Unknown Object (File)
Thu, May 21, 12:24 PM
Unknown Object (File)
Sun, May 10, 5:30 AM
Unknown Object (File)
Sun, May 10, 5:22 AM
Unknown Object (File)
Sun, May 10, 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