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:
Ed Maste 2021-09-29 09:59:10 -04:00
parent 1269873159
commit 5aa9f8dae3

View File

@ -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)
{