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)
Mon, Oct 13, 10:19 AM
Unknown Object (File)
Thu, Oct 9, 8:52 PM
Unknown Object (File)
Wed, Oct 1, 4:49 AM
Unknown Object (File)
Tue, Sep 30, 11:45 PM
Unknown Object (File)
Fri, Sep 26, 11:33 AM
Unknown Object (File)
Aug 19 2025, 5:08 AM
Unknown Object (File)
Aug 10 2025, 1:15 AM
Unknown Object (File)
Aug 9 2025, 10:05 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