From: Anton Vorontsov Date: Wed, 24 Jun 2009 16:30:28 +0000 (+0400) Subject: powerpc/85xx: Fix ethernet link detection on MPC8569E-MDS boards X-Git-Tag: v2.6.31-rc5~13^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4673f9a32d7b02bcd2057763d3d368efe5809c3;p=pandora-kernel.git powerpc/85xx: Fix ethernet link detection on MPC8569E-MDS boards Linux isn't able to detect link changes on ethernet ports that were used by U-Boot. This is because U-Boot wrongly clears interrupt polarity bit (INTPOL, 0x400) in the extended status register (EXT_SR, 0x1b) of Marvell PHYs. There is no easy way for PHY drivers to know IRQ line polarity (we could extract it from the device tree and pass it to phydevs, but that'll be quite a lot of work), so for now just reset the PHYs to their default states. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala --- Reading git-diff-tree failed