Date: Wed, 29 Sep 2021 14:02:44 GMT From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 5aa9f8dae3d4 - main - mgb: Use MGB_DEBUG instead of DEBUG Message-ID: <202109291402.18TE2iaN029564@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=5aa9f8dae3d40e1780a688ce01401e799b25e7c3 commit 5aa9f8dae3d40e1780a688ce01401e799b25e7c3 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-09-29 13:59:10 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-09-29 14:00:55 +0000 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 bc944c92625c..c62b666f098b 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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109291402.18TE2iaN029564>