MIPS: MTX-1: Make au1000_eth probe all PHY addresses
authorFlorian Fainelli <florian@openwrt.org>
Sun, 27 Feb 2011 18:53:53 +0000 (19:53 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 14 Mar 2011 20:07:27 +0000 (21:07 +0100)
commitbf3a1eb85967dcbaae42f4fcb53c2392cec32677
tree9be1360731809174407c4ffa581123b863014e2d
parentab5330eb26327675d28df19a8ab257c928c6a3bd
MIPS: MTX-1: Make au1000_eth probe all PHY addresses

When au1000_eth probes the MII bus for PHY address, if we do not set
au1000_eth platform data's phy_search_highest_address, the MII probing
logic will exit early and will assume a valid PHY is found at address 0.
For MTX-1, the PHY is at address 31, and without this patch, the link
detection/speed/duplex would not work correctly.

CC: stable@kernel.org
Signed-off-by: Florian Fainelli <florian@openwrt.org>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2111/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/mtx-1/platform.c