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)
Thu, Nov 21, 2:58 PM
Unknown Object (File)
Oct 5 2024, 3:59 PM
Unknown Object (File)
Oct 5 2024, 11:41 AM
Unknown Object (File)
Oct 5 2024, 11:02 AM
Unknown Object (File)
Oct 3 2024, 8:33 AM
Unknown Object (File)
Oct 3 2024, 8:33 AM
Unknown Object (File)
Oct 3 2024, 8:33 AM
Unknown Object (File)
Oct 3 2024, 8:18 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.