summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-06-07 16:32:43 -0700
committerDavid S. Miller <davem@davemloft.net>2016-06-08 11:23:42 -0700
commit461cd1b03e321e9c4ed1b831c80965c69a7b761b (patch)
treee12125301d6d5b2edd6f92c62539a509b89efe56 /lib
parent0c73c523cf737b5d446705392e0e14ee0411a351 (diff)
downloadlinux-461cd1b03e321e9c4ed1b831c80965c69a7b761b.tar.bz2
net: dsa: bcm_sf2: Register our slave MDIO bus
Register a slave MDIO bus which allows us to divert problematic read/writes towards conflicting pseudo-PHY address (30). Do no longer rely on DSA's slave_mii_bus, but instead provide our own implementation which offers more flexibility as to what to do, and when to register it. We need to register it by the time we are able to get access to our memory mapped registers, which is not until drv->setup() time. In order to avoid forward declarations, we need to re-order the function bodies a bit. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions