[U-Boot] [PATCH] net: phy: micrel: Disable B_CAST on config

Joe Hershberger joe.hershberger at gmail.com
Fri Jan 22 20:25:49 CET 2016


Hi Alexandre,

On Fri, Jan 22, 2016 at 1:06 PM,  <amessier.tyco at gmail.com> wrote:
> From: Alexandre Messier <amessier at tycoint.com>
>
> Micrel PHYs KSZ8021/31 and KSZ8081 have a feature where MDIO address 0
> is considered as a broadcast address; the PHY will respond even if it
> is not its configured (pinstrapped) address. This feature is enabled
> by default.
>
> The Linux kernel disables that feature at initialisation, but not
> before it probes the MDIO bus. This causes an issue, because a PHY
> at address 3 will be discovered at addresses 0 and 3, but will then
> only respond at address 3. Because Linux attaches the first PHY it
> discovers on 'eth0', it will attach the PHY from address 0, which
> will never answer again.
>
> Fix the issue by disabling the broadcast feature in U-Boot, before
> Linux is started.
>
> Signed-off-by: Alexandre Messier <amessier at tycoint.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list