From: Ben Dooks Date: Wed, 12 Mar 2014 17:47:40 +0000 (+0000) Subject: sh_eth: update OF PHY registeration X-Git-Tag: v3.15-rc1~113^2~153 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=702eca02b7c8574b42359512ebccfa777a71f66e;p=pandora-kernel.git sh_eth: update OF PHY registeration If the sh_eth device is registered using OF, then the driver should call of_mdiobus_register() to register the PHYs described in the devicetree and then use of_phy_connect() to connect the PHYs to the device. This ensures that any PHYs registered in the device tree are appropriately connected to the parent devices nodes so that the PHY drivers can access their OF properties. Signed-off-by: Ben Dooks Signed-off-by: David S. Miller --- Reading git-diff-tree failed