openwrt-mirror/target/linux
Petr Štetiar 606eb43b72 ipq40xx: glinet-b1300: fix LAN and WAN MAC address assigments
When testing the DSA changes with 5.15.60 kernel, I've noticed, that the
MAC addresses are not properly configured, there is single MAC being
used for LAN and WAN interfaces:

 eth0: 94:83:c4:XX:YY:4a (MAC on sticker)
 lan1@eth0: 94:83:c4:XX:YY:4a
 lan2@eth0: 94:83:c4:XX:YY:4a
 wan@eth0: 94:83:c4:XX:YY:4a
 wlan0: 94:83:c4:XX:YY:4a
 wlan1: 94:83:c4:XX:YY:4b

The same config, prior to the DSA conversion:

 lan/eth0: 94:83:c4:XX:YY:4a (MAC on sticker)
 wan/eth1: 94:83:c4:XX:YY:4b
 wlan0: 94:83:c4:XX:YY:4a
 wlan1: 94:83:c4:XX:YY:4b

Settings in ART partition:

 root@OpenWrt:/# hexdump -C /dev/mtd7 | grep '94 83'
 00000000  94 83 c4 XX YY 4a 94 83  c4 0e YY 4b ff ff ff ff  |.....J.....K....|
 00001000  20 2f 8d 8c 01 01 94 83  c4 XX YY 4a 00 00 20 00  | /.........J.. .|
 00005000  20 2f 5a 3a 01 01 94 83  c4 XX YY 4b 00 00 20 00  | /Z:.......K.. .|

So let's fix it by keeping same MAC address assigment as was done before
DSA conversion and while at it, define `label-mac-device` as well.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-10-03 08:06:43 +02:00
..
airoha kernel: bump 5.15 to 5.15.68 2022-09-17 14:16:37 +02:00
apm821xx apm821xx: make 5.15 kernel default 2022-09-24 23:53:53 +02:00
archs38 kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
armvirt armvirt: make 5.15 kernel default 2022-09-14 16:45:06 +02:00
at91 kernel: bump 5.10 to 5.10.143 2022-09-17 14:16:37 +02:00
ath25 kernel: bump 5.10 to 5.10.137 2022-08-23 10:37:04 +02:00
ath79 ath79: fix LibreRouter-v1 watchdog and poe_pass 2022-10-02 11:39:13 +02:00
bcm27xx kernel: bump 5.15 to 5.15.68 2022-09-17 14:16:37 +02:00
bcm47xx kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
bcm53xx bcm53xx: backport clk driver fix for DT nodes names 2022-09-29 05:51:25 +02:00
bcm63xx kernel: bump 5.15 to 5.15.62 2022-08-23 10:37:04 +02:00
bcm4908 bcm4908: fix -EPROBE_DEFER support in bcm4908_enet 2022-09-21 07:54:21 +02:00
bmips kernel: bump 5.15 to 5.15.67 2022-09-09 21:08:37 +01:00
gemini kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
generic kernel: add missing config symbols for 5.15 2022-10-02 23:07:50 +02:00
imx kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
ipq40xx ipq40xx: glinet-b1300: fix LAN and WAN MAC address assigments 2022-10-03 08:06:43 +02:00
ipq806x kernel: bump 5.15 to 5.15.62 2022-08-23 10:37:04 +02:00
kirkwood kernel: remove hack patch, move kirkwood specific kmods to target modules.mk 2022-09-30 12:59:19 +02:00
lantiq lantiq: enable interrupts on second VPEs 2022-10-02 20:22:54 +02:00
layerscape kernel: Move some IOMMU options to generic 2022-09-24 13:49:47 +02:00
malta malta: make 5.15 kernel default 2022-09-14 16:45:06 +02:00
mediatek mediatek: add support t-phy settings from efuse on MT7986 2022-09-30 13:29:58 +01:00
mpc85xx kernel: bump 5.10 to 5.10.145 2022-10-02 20:21:55 +02:00
mvebu mvebu: PCI: aardvark: Implement workaround for PCIe Completion Timeout 2022-09-11 01:30:11 +02:00
mxs kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
octeon kernel: move kernel image cmdline hack to the octeon target 2022-09-30 13:13:51 +02:00
octeontx kernel: bump 5.10 to 5.10.138 2022-08-25 20:23:59 +02:00
omap kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
oxnas oxnas: add testing support for Linux 5.15 2022-09-11 02:49:28 +01:00
pistachio kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
qoriq kernel: Move some IOMMU options to generic 2022-09-24 13:49:47 +02:00
ramips ramips: add support for SNR SNR-CPE-ME2-Lite 2022-10-02 20:21:55 +02:00
realtek kernel: bump 5.10 to 5.10.146 2022-10-02 20:21:55 +02:00
rockchip rockchip: switch to 5.15 kernel 2022-10-02 23:07:50 +02:00
sunxi kernel: bump 5.10 to 5.10.137 2022-08-23 10:37:04 +02:00
tegra kernel: Move some IOMMU options to generic 2022-09-24 13:49:47 +02:00
uml kernel: bump 5.10 to 5.10.146 2022-10-02 20:21:55 +02:00
x86 x86/config-5.10: geode: add missing CONFIG_WATCHDOG_CORE option 2022-09-24 23:53:53 +02:00
zynq kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
Makefile build: fix issues with targets installed via feeds 2022-09-27 13:41:12 +02:00