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)
Wed, Jun 17, 11:14 AM
Unknown Object (File)
Thu, Jun 4, 8:17 PM
Unknown Object (File)
Tue, Jun 2, 11:00 AM
Unknown Object (File)
Sun, May 31, 2:58 PM
Unknown Object (File)
Sun, May 31, 1:04 PM
Unknown Object (File)
Sun, May 31, 1:01 PM
Unknown Object (File)
Sat, May 30, 9:38 PM
Unknown Object (File)
Sat, May 30, 9:35 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. :)