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
F168675970: D57066.id178026.diff
Sat, Aug 29, 2:03 PM
F168673397: D57066.diff
Sat, Aug 29, 1:46 PM
Unknown Object (File)
Fri, Aug 28, 6:47 AM
Unknown Object (File)
Fri, Aug 28, 4:19 AM
Unknown Object (File)
Thu, Aug 27, 8:28 AM
Unknown Object (File)
Wed, Aug 26, 7:04 AM
Unknown Object (File)
Wed, Aug 26, 5:42 AM
Unknown Object (File)
Wed, Aug 26, 4:22 AM

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. :)