Skip to content

Instantly share code, notes, and snippets.

@neheb
Created April 4, 2018 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neheb/35213f1cf531f3e93a9c819bf77232c1 to your computer and use it in GitHub Desktop.
Save neheb/35213f1cf531f3e93a9c819bf77232c1 to your computer and use it in GitHub Desktop.
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c
index 61811370de..2e7e8812ac 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8216.c
+++ b/target/linux/generic/files/drivers/net/phy/ar8216.c
@@ -1709,8 +1709,11 @@ static const struct switch_dev_ops ar8xxx_sw_ops = {
};
static const struct ar8xxx_chip ar8216_chip = {
+/* Similar problem to above. To add to the above, this problem seems
+ to have been introduced in the migration from 4.4 to 4.9. */
+#if 0
.caps = AR8XXX_CAP_MIB_COUNTERS,
-
+#endif
.reg_port_stats_start = 0x19000,
.reg_port_stats_length = 0xa0,
.reg_arl_ctrl = AR8216_REG_ATU_CTRL,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment