summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-11-30 10:22:28 -0500
committerDavid S. Miller <davem@davemloft.net>2016-11-30 10:22:28 -0500
commit0f29f05bd7064bdf0c9629511bcba7650ce364d5 (patch)
treeb5df367d6fa9b47d49e635a8e23dc85b136dbff3 /include
parent5a6681e22c1409089132085811857d6da828761b (diff)
parentb23ce9e8b3d6e862ad2f7f818802ae4958550a51 (diff)
downloadlwn-0f29f05bd7064bdf0c9629511bcba7650ce364d5.tar.gz
lwn-0f29f05bd7064bdf0c9629511bcba7650ce364d5.zip
Merge branch 'broadcom-phy-internal-counters'
Florian Fainelli says: ==================== net: phy: broadcom: Support for PHY counters This patch series adds support for reading the Broadcom PHYs internal counters. Changes in v3: - fixed the allocation of priv->stats in bcm7xxx Changes in v2: - fixed modular build reported by kbuild - constify array of stats ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/brcmphy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h
index f9f8aaf9c943..4f7d8be9ddbf 100644
--- a/include/linux/brcmphy.h
+++ b/include/linux/brcmphy.h
@@ -244,6 +244,9 @@
#define LPI_FEATURE_EN_DIG1000X 0x4000
/* Core register definitions*/
+#define MII_BRCM_CORE_BASE12 0x12
+#define MII_BRCM_CORE_BASE13 0x13
+#define MII_BRCM_CORE_BASE14 0x14
#define MII_BRCM_CORE_BASE1E 0x1E
#define MII_BRCM_CORE_EXPB0 0xB0
#define MII_BRCM_CORE_EXPB1 0xB1