git: 3bc37e2f7a14 - stable/14 - dwc: fix DEBUG macro name
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Nov 2026 18:41:14 UTC
The branch stable/14 has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=3bc37e2f7a1467935d94a333547c5dbcffd930f3
commit 3bc37e2f7a1467935d94a333547c5dbcffd930f3
Author: Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2024-02-27 21:59:24 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2026-11-13 18:41:02 +0000
dwc: fix DEBUG macro name
It conflicts with the general "DEBUG" macro defined as an option in LINT
builds. Since this is actually unused, just rename it to GMAC_DEBUG.
Reviewed by: manu
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D44102
(cherry picked from commit fae39d8da9d5ddf4239fc2143522340c941f6612)
---
sys/dev/dwc/if_dwc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/dwc/if_dwc.h b/sys/dev/dwc/if_dwc.h
index 5397b5801596..594743877520 100644
--- a/sys/dev/dwc/if_dwc.h
+++ b/sys/dev/dwc/if_dwc.h
@@ -76,7 +76,7 @@
#define FLOW_CONTROL_TX (1 << 1) /* TX Flow control enable */
#define GMAC_VLAN_TAG 0x1C
#define VERSION 0x20
-#define DEBUG 0x24
+#define GMAC_DEBUG 0x24
#define LPI_CONTROL_STATUS 0x30
#define LPI_TIMERS_CONTROL 0x34
#define INTERRUPT_STATUS 0x38