[openwrt/openwrt] kernel: load r8169 network module at boot time
LEDE Commits
lede-commits at lists.infradead.org
Sat Mar 15 02:40:20 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/effcb6e4c3f6638ad4dde7a7e9218c4f7189019b
commit effcb6e4c3f6638ad4dde7a7e9218c4f7189019b
Author: Michel Lespinasse <michel at lespinasse.org>
AuthorDate: Thu Jan 16 00:54:06 2025 -0800
kernel: load r8169 network module at boot time
This allows the network interface naming to be stable, free from any
possible interaction from external USB network devices that might
claim usb* interface names.
(This was a real problem I encountered with a nanopi R6S device and
an external rtl8152 usb3 network controller - the USB controller would
claim the eth1 name, causing much confusion).
Signed-off-by: Michel Lespinasse <michel at lespinasse.org>
Link: https://github.com/openwrt/openwrt/pull/17638
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/linux/modules/netdevices.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 308958eb68..541202c5e3 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -1024,7 +1024,7 @@ define KernelPackage/r8169
CONFIG_R8169 \
CONFIG_R8169_LEDS=y
FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko
- AUTOLOAD:=$(call AutoProbe,r8169)
+ AUTOLOAD:=$(call AutoProbe,r8169,1)
endef
define KernelPackage/r8169/description
More information about the lede-commits
mailing list