mbox series

[0/3] Improve networking support on FriendlyElec Nanopi R5C

Message ID 956549361.15002868.1719232802319.JavaMail.zimbra@univ-grenoble-alpes.fr
Headers show
Series Improve networking support on FriendlyElec Nanopi R5C | expand

Message

Etienne Dublé June 24, 2024, 12:40 p.m. UTC
This board has two RTL-8125B interfaces (drivers/net/rtl8169.c).
The secondary interface (labelled "wan") was not working
because of a wrong PCI address in file rk3568.dtsi.

Moreover, users could not instruct u-boot to use this secondary
interface (i.e., using ethprime), because both interfaces had
the same name.

Lastly, the mac address generated by u-boot was not properly
passed to the Linux kernel, in the case of RTL-8125B.

This series probably improves support of other similar boards too
(e.g., Nanopi R5S).


Etienne Dublé (3):
  net: give a different name to rtl8169 interfaces
  rockchip: fix wrong PCI range address in rk3568 dtsi
  net: RTL-8125B -- write mac to MAC0_BKP

 drivers/net/rtl8169.c                       | 26 +++++++++++++++++++++
 dts/upstream/src/arm64/rockchip/rk3568.dtsi |  2 +-
 2 files changed, 27 insertions(+), 1 deletion(-)