summaryrefslogtreecommitdiff
path: root/net/dsa/dsa2.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2016-06-04 21:17:04 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-04 14:29:54 -0700
commite755e49eb3ea925834006c294e989df52f592580 (patch)
tree22a130b4708421378138307d97c5ccfd3fe294ff /net/dsa/dsa2.c
parent39a7f2a4eb496c0c68cc93fcb403190b48605168 (diff)
net: dsa: Make mdio bus optional
The switch may want to instantiate its own MDIO bus. Only do it centrally if the switch has not already created one, and the read op is implemented. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa2.c')
0 files changed, 0 insertions, 0 deletions