commit | e755e49eb3ea925834006c294e989df52f592580 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Sat Jun 04 21:17:04 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 04 14:29:54 2016 -0700 |
tree | 22a130b4708421378138307d97c5ccfd3fe294ff | |
parent | 39a7f2a4eb496c0c68cc93fcb403190b48605168 [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>