Page MenuHomeFreeBSD

LinuxKPI: Check the devclass of the parent device in dev_is_pci
ClosedPublic

Authored by jhb on May 18 2026, 3:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 5, 1:32 PM
Unknown Object (File)
Sat, Jul 4, 12:54 AM
Unknown Object (File)
Wed, Jun 17, 11:14 AM
Unknown Object (File)
Jun 4 2026, 8:17 PM
Unknown Object (File)
Jun 2 2026, 11:00 AM
Unknown Object (File)
May 31 2026, 2:58 PM
Unknown Object (File)
May 31 2026, 1:04 PM
Unknown Object (File)
May 31 2026, 1:01 PM

Diff Detail

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

Event Timeline

jhb requested review of this revision.May 18 2026, 3:22 PM

We assume that parent it is not a drmn device. Given I added this, it was for mt76 back then likely, so this was clearly a bug.

This revision is now accepted and ready to land.May 18 2026, 3:38 PM
In D57066#1307689, @bz wrote:

We assume that parent it is not a drmn device. Given I added this, it was for mt76 back then likely, so this was clearly a bug.

Well, it remains just as broken for drm as it was before. :)