summaryrefslogtreecommitdiffstats
path: root/drivers/pps
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-04-07 01:09:48 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-08 16:55:26 -0400
commit779d835e7eee114f9bfdf7401d1efcf2d53baccf (patch)
tree3bf252e7d10f8bd8b86de41a4ee61abdeb597d46 /drivers/pps
parent3d604da1e9547c09c9dcc0ee443c306c9ae1a480 (diff)
downloadlinux-779d835e7eee114f9bfdf7401d1efcf2d53baccf.tar.bz2
net: of_mdio: scan mdiobus for PHYs without reg property
Using DT for mdiobus and ethernet-phy requires to know the PHY address, which is hard to guess if you don't know it. This patch extends of_mdiobus_register to scan mdiobus for PHYs if reg property of the corresponding node is not set. This also allows to have phy nodes in SoC DT files where the reg property can be overwritten in the board file later. To encourage people to finally set the actual phy address, the mdiobus scan is noisier than required. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions