The branch main has been updated by emaste:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=5aa9f8dae3d40e1780a688ce01401e799b25e7c3

commit 5aa9f8dae3d40e1780a688ce01401e799b25e7c3
Author:     Ed Maste <[email protected]>
AuthorDate: 2021-09-29 13:59:10 +0000
Commit:     Ed Maste <[email protected]>
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)
 {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to