diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 19:41:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 19:41:51 +0000 |
commit | 74146c62c0cd494719abb3150ce478da973e7c83 (patch) | |
tree | cd3fdcc0fa195d134f38c3f36a162de8fb964855 /tools/libelf | |
parent | 768d09be8781228d3553142c0f1e1231c6aacc7c (diff) | |
download | master-31e0f0ae-74146c62c0cd494719abb3150ce478da973e7c83.tar.gz master-31e0f0ae-74146c62c0cd494719abb3150ce478da973e7c83.tar.bz2 master-31e0f0ae-74146c62c0cd494719abb3150ce478da973e7c83.zip |
ar8216: fix ATU flushing
The functionality to flush the address translation table contains two bugs
which luckily compensate each other.
1. Just setting the operation is not sufficient to perform the flushing.
The "active" bit needs to be set to actually trigger an action.
For the vtu operations this is implemented correctly.
2. ar8xxx_phy_read_status is called every 2s by the phy state machine
to check for link changes. This would have caused an ATU flush
every 2s.
Fix the chip-specific ATU flush functions and remove the ATU flush call
from ar8xxx_phy_read_status.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44101
Diffstat (limited to 'tools/libelf')
0 files changed, 0 insertions, 0 deletions