Page MenuHomeFreeBSD

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

Authored by gavin on Dec 3 2016, 11:49 PM.

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
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 6134

Event Timeline

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