OSDN Git Service

net: dsa: mv88e6xxx: prefix Global Switch MAC macros
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 15 Jun 2017 16:14:00 +0000 (12:14 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:07:48 +0000 (14:07 -0400)
commit4b0c481717b9896fa7a778dfd0b197ce8325bd1a
tree7478dc41115b6d58b8bbfed55414330b07f2f268
parent824669218226a71300ef31862ae49b9465614513
net: dsa: mv88e6xxx: prefix Global Switch MAC macros

Prefix and document the Global Switch MAC Address Register macros and
give clear 16-bit register representation.

At the same time, move mv88e6xxx_g1_set_switch_mac in global1.c, where
it belongs.

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