Page MenuHomeFreeBSD

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

Authored by jhb on Mon, May 18, 3:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 25, 4:41 PM
Unknown Object (File)
Mon, May 25, 1:52 AM
Unknown Object (File)
Fri, May 22, 8:22 PM
Unknown Object (File)
Fri, May 22, 12:53 AM
Unknown Object (File)
Fri, May 22, 12:41 AM
Unknown Object (File)
Thu, May 21, 11:00 PM
Unknown Object (File)
Thu, May 21, 2:10 AM
Unknown Object (File)
Wed, May 20, 12:56 PM

Details

Summary

Fixes: c41d83548b6c ("LinuxKPI: pci.h add more defines and functions")
Sponsored by: Chelsio Communications

Diff Detail

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

Event Timeline

jhb requested review of this revision.Mon, May 18, 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.Mon, May 18, 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. :)