--- zzzz-none-000/linux-2.6.39.4/drivers/net/usb/usbnet.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/drivers/net/usb/usbnet.c 2021-11-10 13:23:10.000000000 +0000 @@ -1381,6 +1381,8 @@ if (status < 0) goto out1; +/* --- 20160715 AVM/WK: FIX from AVM-Kernel 2.6.32: we always want usb0, not eth4 ---*/ +#if 0 // heuristic: "usb%d" for links we know are two-host, // else "eth%d" when there's reasonable doubt. userspace // can rename the link if it knows better. @@ -1388,6 +1390,8 @@ ((dev->driver_info->flags & FLAG_POINTTOPOINT) == 0 || (net->dev_addr [0] & 0x02) == 0)) strcpy (net->name, "eth%d"); +#endif + /* WLAN devices should always be named "wlan%d" */ if ((dev->driver_info->flags & FLAG_WLAN) != 0) strcpy(net->name, "wlan%d");