aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2015-03-10 16:57:13 -0700
committerDavid S. Miller <davem@davemloft.net>2015-03-11 17:56:29 -0400
commitcd28a1a9baee7674779e46072e5dbbb6215c3c8c (patch)
tree8a95d055d050729f032427f458d6c9a7ef7eef08 /include/linux/sysctl.h
parentnet: dsa: move PHY setup on DSA MII bus to its own function (diff)
downloadlinux-dev-cd28a1a9baee7674779e46072e5dbbb6215c3c8c.tar.xz
linux-dev-cd28a1a9baee7674779e46072e5dbbb6215c3c8c.zip
net: dsa: fully divert PHY reads/writes if requested
In case a PHY is found via Device Tree, and is also flagged by the switch driver as needing indirect reads/writes using the switch driver implemented MDIO bus, make sure that we bind this PHY to the slave MII bus in order for this to happen. Without this, we would succeed in having the PHY driver probe()'s function to use slave MII bus read/write functions, because this is done during dsa_slave_mii_init(), but past that point, the PHY driver would not go through these diverted reads and writes. Fixes: 0d8bcdd383b88 ("net: dsa: allow for more complex PHY setups") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sysctl.h')
0 files changed, 0 insertions, 0 deletions