From: Grant Likely Date: Sat, 25 Apr 2009 12:52:56 +0000 (+0000) Subject: openfirmware: Add OF phylib support code X-Git-Tag: v2.6.31-rc1~330^2~561 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bc487d150b939e69830c39322df4ee486efe381;p=pandora-kernel.git openfirmware: Add OF phylib support code Add support for parsing the device tree for PHY devices on an MDIO bus. Currently many of the PowerPC ethernet drivers are open coding a solution for reading data out of the device tree to find the correct PHY device. This patch implements a set of common routines to: a) let MDIO bus drivers register phy_devices described in the tree, and b) let MAC drivers find the correct phy_device via the tree. Signed-off-by: Grant Likely Acked-by: Andy Fleming Signed-off-by: David S. Miller --- Reading git-diff-tree failed