]> git.baikalelectronics.ru Git - uboot.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)
commit2720628facf2893b01c449d42de66ce9a483b6ad
tree690562c187fafbcb8661b7483c869b7a3f5e27c1
parent803e395eb5b9cf845bfb7b5972ba84b320b163e3
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