]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: map destination addresses for 6185
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 31 Mar 2016 20:53:45 +0000 (16:53 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Apr 2016 01:31:35 +0000 (21:31 -0400)
commitf4d24cf45eb485850abeb780cd431cb3ff37d0ae
treed022422512d4c91790a4b233bcd3b15d6d8b8848
parent71cdaf50964c155b1bfe79053b9bc47b0d41057d
net: dsa: mv88e6xxx: map destination addresses for 6185

The 88E6185 switch also has a MapDA bit in its Port Control 2 register.
When this bit is cleared, all frames are sent out to the CPU port.

Set this bit to rely on address databases (ATU) hits and direct frames
out of the correct ports, and thus allow hardware bridging.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c