]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: mvneta: Fix 10Mbps speed
authorMarek Behún <marek.behun@nic.cz>
Wed, 27 Apr 2022 10:41:45 +0000 (12:41 +0200)
committerStefan Roese <sr@denx.de>
Wed, 4 May 2022 05:05:51 +0000 (07:05 +0200)
commit47f0e8e21a16a97963b639df3529759840730d65
tree690562c187fafbcb8661b7483c869b7a3f5e27c1
parent443cf35674a7de9639f244d58cd2af1002677ff2
net: mvneta: Fix 10Mbps speed

In mvneta_adjust_link() we need to set MII_SPEED bit only if PHY reports
the speed at 100Mbps.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/net/mvneta.c