Skip to content
Commit faf96b20 authored by Marek Mojík's avatar Marek Mojík Committed by Stefan Roese
Browse files

net: mv88e6xxx: fix missing SMI address initialization



The mv88e6xxx driver does not currently initialize the smi_addr field, but
instead keeps the default zero value. This leads to driver being unusable
on devices where the switch is not on address zero of the mdio bus. Fix
this problem by reading the SMI address from device tree.

Signed-off-by: default avatarMarek Mojík <marek.mojik@nic.cz>
Reviewed-by: default avatarMarek Behún <kabel@kernel.org>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
parent 773cb2bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment