]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: rework Global2 SMI PHY access
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 15 Aug 2016 21:18:59 +0000 (17:18 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Aug 2016 23:43:55 +0000 (16:43 -0700)
commit15447085775ce5c8a1a508796b6a2c9009d10adb
tree6f1cacfd95cc9369899cfc17e7c10d35e009d238
parent870a0bcec251e3832c4e870418904037712a6375
net: dsa: mv88e6xxx: rework Global2 SMI PHY access

Describe the presence of the Global2 SMI PHY registers, used to
indirectly access the internal SMI devices registers on some chips.

Also temporarily forward declare mv88e6xxx_g2_smi_phy_{read,write} to
use them in mv88e6xxx_mdio_{read,write}_indirect, before getting rid of
the later.

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/mv88e6xxx.h