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
F166385200: D8704.id22748.diff
Thu, Aug 13, 7:19 AM
F166385183: D8704.id22692.diff
Thu, Aug 13, 7:19 AM
F166385171: D8704.id.diff
Thu, Aug 13, 7:19 AM
F166385110: D8704.diff
Thu, Aug 13, 7:19 AM
Unknown Object (File)
Sun, Aug 9, 12:15 AM
Unknown Object (File)
Sat, Aug 8, 11:34 PM
Unknown Object (File)
Sat, Aug 8, 5:06 PM
Unknown Object (File)
Sat, Aug 8, 11:14 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.