net: dsa: mv88e6xxx: factorize ATU access
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 9 May 2016 17:22:48 +0000 (13:22 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2016 18:26:10 +0000 (14:26 -0400)
commit2672f82548de2be29adcf5ef3c99fdaa1e5ace32
tree2166166a55f3e8f9c5d1f6699e85caf49c5e4c89
parent54d77b5b6ac92c76ee7dd360d8b7b0dfabf9f5f0
net: dsa: mv88e6xxx: factorize ATU access

Add a MV88E6XXX_FLAG_ATU flag to identify switch models with an Address
Translation Unit.

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