diff options
author | Manuel Lauss <[email protected]> | 2016-06-10 16:53:05 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-06-10 23:32:25 -0700 |
commit | a2f27217e4e60e663b5b971b0ccb287a9548b04e (patch) | |
tree | 58f27360566a7e8682e392252c1867eb5f8e5fdd /lib/netdev-notifier-error-inject.c | |
parent | a4b42ab3205a28b24eb0d480935cf9fd1051a7f2 (diff) |
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 <[email protected]>
Signed-off-by: Manuel Lauss <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions