Page MenuHomeFreeBSD

Switch run(4) to use a bitmap for debug printf()s
ClosedPublic

Authored by gavin on Dec 3 2016, 11:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 19, 12:18 PM
Unknown Object (File)
Sat, Oct 18, 10:43 PM
Unknown Object (File)
Sat, Sep 27, 12:06 AM
Unknown Object (File)
Sep 9 2025, 8:24 AM
Unknown Object (File)
Sep 7 2025, 11:25 AM
Unknown Object (File)
Sep 6 2025, 8:09 AM
Unknown Object (File)
Sep 4 2025, 1:14 PM
Unknown Object (File)
Sep 4 2025, 11:44 AM
Subscribers

Details

Summary

Swithc if_run.c to use a bitmap for debug levels rather than arbitrary values. This more closely matches other wifi drivers in the tree. The bitmap levels have been based closely on other drivers (primarily [u]rtwn(4)) in the hope that one day these can be unified into a shared wifi-debug framework.

This is the first step of several pieces of work I'm planning on doing with the run(4) driver. I may well adjust and refine some of the debug levels at a later date.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

gavin retitled this revision from to Switch run(4) to use a bitmap for debug printf()s.
gavin updated this object.
gavin edited the test plan for this revision. (Show Details)
gavin added reviewers: adrian, avos.
gavin set the repository for this revision to rS FreeBSD src repository - subversion.
avos edited edge metadata.
This revision is now accepted and ready to land.Dec 4 2016, 12:17 AM
adrian edited edge metadata.
This revision was automatically updated to reflect the committed changes.