diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2017-02-22 11:42:36 +0100 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2017-02-22 12:07:30 +0100 |
commit | 349577adbf84ea8544838894a1edee7c13fd0dcd (patch) | |
tree | 2647c27310bdb00a918ce385c93dd1ada1cd39c7 /target/linux/generic/files/drivers/net/phy | |
parent | 7fd494d4b23697a329dcde89df412edaaf96a83d (diff) | |
download | upstream-349577adbf84ea8544838894a1edee7c13fd0dcd.tar.gz upstream-349577adbf84ea8544838894a1edee7c13fd0dcd.tar.bz2 upstream-349577adbf84ea8544838894a1edee7c13fd0dcd.zip |
Revert "kernel: ar8327/ar8337: disable ARL access code to avoid lockups (FS#384)"
This reverts commit ec1a695daa7390a6c24e3b28d3956f194cba2cb5.
Revert the workaround, the problem was properly fixed in
237454991618e0e8b7ceb8a8a2a43fca12c1a454.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(cherry picked from commit 5c49fecf72c9c10b1d302b0a9d4db3b4ce3c782c)
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/ar8327.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8327.c b/target/linux/generic/files/drivers/net/phy/ar8327.c index 72e0abc9d6..74c80d4452 100644 --- a/target/linux/generic/files/drivers/net/phy/ar8327.c +++ b/target/linux/generic/files/drivers/net/phy/ar8327.c @@ -1040,7 +1040,6 @@ ar8327_wait_atu_ready(struct ar8xxx_priv *priv, u16 r2, u16 r1) pr_err("ar8327: timeout waiting for atu to become ready\n"); } -#if 0 static void ar8327_get_arl_entry(struct ar8xxx_priv *priv, struct arl_entry *a, u32 *status, enum arl_op op) { @@ -1100,7 +1099,6 @@ static void ar8327_get_arl_entry(struct ar8xxx_priv *priv, break; } } -#endif static int ar8327_sw_hw_apply(struct switch_dev *dev) @@ -1401,9 +1399,7 @@ const struct ar8xxx_chip ar8327_chip = { .vtu_load_vlan = ar8327_vtu_load_vlan, .phy_fixup = ar8327_phy_fixup, .set_mirror_regs = ar8327_set_mirror_regs, -#if 0 .get_arl_entry = ar8327_get_arl_entry, -#endif .sw_hw_apply = ar8327_sw_hw_apply, .num_mibs = ARRAY_SIZE(ar8236_mibs), @@ -1438,9 +1434,7 @@ const struct ar8xxx_chip ar8337_chip = { .vtu_load_vlan = ar8327_vtu_load_vlan, .phy_fixup = ar8327_phy_fixup, .set_mirror_regs = ar8327_set_mirror_regs, -#if 0 .get_arl_entry = ar8327_get_arl_entry, -#endif .sw_hw_apply = ar8327_sw_hw_apply, .num_mibs = ARRAY_SIZE(ar8236_mibs), |