diff options
author | Manuel Lauss <manuel.lauss@gmail.com> | 2016-06-10 22:13:04 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-11 06:34:42 (GMT) |
commit | 92ca8241533009e4e05a9f3999a75389678af094 (patch) | |
tree | ed9465f11fe7bf1d10a1e207065b935c784937f2 /net | |
parent | 86c5fe4c932a8ef2d32f8b3d32cc9f0476fc54f3 (diff) | |
download | linux-92ca8241533009e4e05a9f3999a75389678af094.tar.xz |
net: au1000_eth: fix PHY detection
Commit 7f854420fbfe9d49afe2ffb1df052cfe8e215541
("phy: Add API for {un}registering an mdio device to a bus.")
broke PHY detection on this driver with a copy-paste bug:
The code is looking 32 times for a PHY at address 0.
Fixes ethernet on AMD DB1100/DB1500/DB1550 boards which have
their (autodetected) PHYs at address 31.
Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions