mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
mgb: Use MGB_DEBUG instead of DEBUG
The debug register dump routine is not hooked up and is really only
useful to driver developers, so put it under an mgb-specific MGB_DEBUG
rather than general DEBUG.
MFC after: 1 week
Fixes: 8890ab7758 ("Introduce if_mgb driver...")
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
1269873159
commit
5aa9f8dae3
1 changed files with 1 additions and 1 deletions
|
|
@ -620,7 +620,7 @@ mgb_init(if_ctx_t ctx)
|
|||
error);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef MGB_DEBUG
|
||||
static void
|
||||
mgb_dump_some_stats(struct mgb_softc *sc)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue