summaryrefslogtreecommitdiffstats
path: root/drivers/net/pppoe.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2006-01-27 04:01:38 +0100
committerJeff Garzik <jgarzik@pobox.com>2006-01-27 04:01:38 +0100
commit0d615ec2bb1cb8c38087bb24f6d2876dec3a9751 (patch)
tree6fd87eb05df5fd4f8a898680487f0955fd2bd39f /drivers/net/pppoe.c
parent[SPARC64]: Use compat_sys_futimesat in 32-bit syscall table. (diff)
downloadlinux-0d615ec2bb1cb8c38087bb24f6d2876dec3a9751.tar.xz
linux-0d615ec2bb1cb8c38087bb24f6d2876dec3a9751.zip
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 <acme@mandriva.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/pppoe.c')
0 files changed, 0 insertions, 0 deletions