mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
[arswitch] Fix ATU flushing on AR8216/AR8316 and most of the later chips.
The switch hardware requires this bit to be set in order to kick start the actual ATU update. This was being masked on some chips by the learning programming (what to do when a MAC address moves, hash table collision, etc) which is currently inconsistent between chips. Tested: * AR9344 SoC (AR7240 style switch internal)
This commit is contained in:
parent
676e92f22d
commit
2c6ceccade
1 changed files with 1 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ ar8xxx_atu_flush(struct arswitch_softc *sc)
|
|||
if (!ret)
|
||||
arswitch_writereg(sc->sc_dev,
|
||||
AR8216_REG_ATU,
|
||||
AR8216_ATU_OP_FLUSH);
|
||||
AR8216_ATU_OP_FLUSH | AR8216_ATU_ACTIVE);
|
||||
|
||||
return (ret);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue