]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: allwinner: a64: pine64: add missing ethernet0 alias
authorIcenowy Zheng <icenowy@aosc.io>
Sat, 22 Jul 2017 02:28:51 +0000 (10:28 +0800)
committerChen-Yu Tsai <wens@csie.org>
Thu, 10 Aug 2017 06:01:38 +0000 (14:01 +0800)
commit73c022173940cda954a87a7cdaa5e9b88c2d3c2c
treeb9ffeca8511292f794b9901a0b9615eef475050a
parentb4e36e861d3b5f665afd0232ac537e25d199ee56
arm64: allwinner: a64: pine64: add missing ethernet0 alias

The EMAC Ethernet controller was enabled, but an accompanying alias
was not added. This results in unstable numbering if other Ethernet
devices, such as a USB dongle, are present. Also, the bootloader uses
the alias to assign a generated stable MAC address to the device node.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Fixes: 36bea2639e7a ("arm64: allwinner: pine64: Enable dwmac-sun8i")
[wens@csie.org: Rewrite commit log as fixing a previous patch with Fixes]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts