]> git.baikalelectronics.ru Git - uboot.git/commit
net: eth-uclass: Change uclass driver name to ethernet
authorDavid Wu <david.wu@rock-chips.com>
Fri, 8 Jan 2021 02:53:05 +0000 (10:53 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 19 Jan 2021 14:15:02 +0000 (09:15 -0500)
commit022657867eee8c587b26e7696afe42d293b4d0f3
treeecdb97433ba17bf82c463affdf47ab96100cf64b
parent56f48738a6b40bd47b23b9531a34e0ab26ceca47
net: eth-uclass: Change uclass driver name to ethernet

dev_read_alias_seq() used uc_drv->name compared to alias
stem string, Ethernet's alias stem uses "ethernet", which
does not match the eth-uclass driver name "eth", can not
get the correct index of ethernet alias namer. So it seems
change uclass driver name to match the alias stem is a more
reasonable way.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
net/eth-uclass.c