lede/target
Ahmed Naseef c65c2ad5b0 kernel: usbnet: Restore usb%d naming
Prior to commit 8a7d12d674,
cdc-ethernet USB LTE modems (e.g. Quectel EC200A) were consistently named
usb0. After 8a7d12d67, devices began renaming to eth1 due to an assumption
that local MAC addresses originate exclusively from the kernel. Some
devices provide driver-assigned local MACs, causing point-to-point
interfaces with driver-set MACs to adopt eth%d names instead of usb%d.

Restore the naming exception for point-to-point devices: interfaces
without driver MACs or with driver-provided local MACs will retain the
usb%d convention. This addresses issues reported in [1] and fixed in [2].

[1] https://lore.kernel.org/all/Z00udyMgW6XnAw6h@atmark-techno.com/
[2] https://lore.kernel.org/all/20241203130457.904325-1-asmadeus@codewreck.org/

Tested-by: Ahmed Naseef <naseefkm@gmail.com>
Signed-off-by: Ahmed Naseef <naseefkm@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-03-06 23:08:30 +08:00
..
imagebuilder branding: add LEDE branding 2024-11-14 13:14:47 +08:00
linux kernel: usbnet: Restore usb%d naming 2025-03-06 23:08:30 +08:00
llvm-bpf toolchain: add llvm-bpf 2022-04-07 01:01:05 +08:00
sdk branding: add LEDE branding 2024-11-14 13:14:47 +08:00
toolchain branding: add LEDE branding 2024-11-14 13:14:47 +08:00
Config.in toolchain/gcc: add loongarch64 new target 2024-01-11 21:14:49 +08:00
Makefile ipq60xx: add dma arm64 api patch 2022-09-13 15:19:06 +08:00