aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2015-03-01 06:52:23 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2015-03-01 06:52:23 +0000
commitb69448850b8283169616d4809e0c016ef90856a6 (patch)
tree386880be87b434e7621b3f059b739bad2586fc26
parente7730c87a880b16afec1b83dc883b84a364c86d7 (diff)
downloadsrc-b69448850b8283169616d4809e0c016ef90856a6.tar.gz
src-b69448850b8283169616d4809e0c016ef90856a6.zip
Make QCA955X_GMAC_REG_ETH_CFG defined like most other registers like this.
Notes
Notes: svn path=/head/; revision=279477
-rw-r--r--sys/mips/atheros/qca955xreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/atheros/qca955xreg.h b/sys/mips/atheros/qca955xreg.h
index ef14321eb2ff..7b24c6801df6 100644
--- a/sys/mips/atheros/qca955xreg.h
+++ b/sys/mips/atheros/qca955xreg.h
@@ -188,7 +188,7 @@
/* GMAC Interface */
-#define QCA955X_GMAC_REG_ETH_CFG 0x00 /* XXX register base? */
+#define QCA955X_GMAC_REG_ETH_CFG (QCA955X_GMAC_BASE + 0x00)
#define QCA955X_ETH_CFG_RGMII_EN BIT(0)
#define QCA955X_ETH_CFG_GE0_SGMII BIT(6)