From: Josh Boyer Date: Mon, 7 May 2007 21:26:22 +0000 (+1000) Subject: [POWERPC] Generalize tsi108 PHY types X-Git-Tag: v2.6.22-rc1~358^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1b78d05b3281d6f84284d421fc20eed8b8b78ce;p=pandora-kernel.git [POWERPC] Generalize tsi108 PHY types Add a phy_type field to the tsi108 ethernet structures to indicate which PHY is used on a board. This is derived from the "compatible" property in the ethernet-phy node of the device tree. The default remains the MV88E PHY. Also, convert the setup code to use of_get_mac_address instead of hard coding a lookup for the "address" property in the ethernet node. Signed-off-by: Josh Boyer Acked-by: Olof Johansson Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed