From 5aa9f8dae3d40e1780a688ce01401e799b25e7c3 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 29 Sep 2021 09:59:10 -0400 Subject: [PATCH] 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: 8890ab7758b8 ("Introduce if_mgb driver...") Sponsored by: The FreeBSD Foundation --- sys/dev/mgb/if_mgb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/mgb/if_mgb.c b/sys/dev/mgb/if_mgb.c index bc944c92625..c62b666f098 100644 --- a/sys/dev/mgb/if_mgb.c +++ b/sys/dev/mgb/if_mgb.c @@ -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) {