]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: abstract REG_GLOBAL2
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 29 Sep 2016 16:21:54 +0000 (12:21 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Sep 2016 05:25:59 +0000 (01:25 -0400)
commitf4ee40bb13632b15b41476876404eb0423fbf185
treed58f15b08c6c10ab6eecc65f0034529d513ae239
parent5eac4d3b0fc4a10774d5009dca856aad8131d7b5
net: dsa: mv88e6xxx: abstract REG_GLOBAL2

Similarly to the ports, phys, and Global SMI devices, abstract the SMI
device address of the Global 2 registers in a few g2 static helpers.

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