From: Anton Vorontsov Date: Wed, 1 Jul 2009 17:39:25 +0000 (+0400) Subject: powerpc/85xx: Don't scan for TBI PHY addresses on MPC8569E-MDS boards X-Git-Tag: v2.6.31-rc5~13^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a0b177f367a8fd03dc5ba1f5a4494d1424471aa;p=pandora-kernel.git powerpc/85xx: Don't scan for TBI PHY addresses on MPC8569E-MDS boards Sometimes (e.g. when there are no UEMs attached to a board) fsl_pq_mdio_find_free() fails to find a spare address for a TBI PHY, this is because get_phy_id() returns bogus 0x0000ffff values (0xffffffff is expected), and therefore mdio bus probing fails with the following message: fsl-pq_mdio: probe of e0082120.mdio failed with error -16 And obviously ethernet doesn't work after this. This patch solves the problem by adding tbi-phy node into mdio node, so that we won't scan for spare addresses, we'll just use a fixed one. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala --- Reading git-diff-tree failed