From: Arnaldo Carvalho de Melo Date: Fri, 27 Jan 2006 03:01:38 +0000 (-0500) Subject: sundance: Really read addr 0 X-Git-Tag: v2.6.17-rc1~1186^2~60^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d615ec2bb1cb8c38087bb24f6d2876dec3a9751;p=pandora-kernel.git sundance: Really read addr 0 Make phy 0 actually be read, as it is not being right now as we have: int mii_status = mdio_read(dev, phy, MII_BMSR); int phyx = phy & 0x1f; When we should have instead: int phyx = phy & 0x1f; int mii_status = mdio_read(dev, phyx, MII_BMSR); so that when phy, in the end of the (phy = 1; phy <= 32...) loop gets to 32 phyx gets to 0, i.e. we were reading at 32, when the intended read was for 0. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed