summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Lespinasse2025-01-16 08:54:06 +0000
committerHauke Mehrtens2025-03-31 22:26:09 +0000
commit8e5c9dbb177ed98562d825a67d62bf30aa6874cf (patch)
treeb0f96dbc06369a344b26b390a60d9f0701ef1b00
parent092ee8bf0792b85779462abf8775f3ebb493ebc3 (diff)
downloadopenwrt-8e5c9dbb177ed98562d825a67d62bf30aa6874cf.tar.gz
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@lespinasse.org> Link: https://github.com/openwrt/openwrt/pull/17638 (cherry picked from commit effcb6e4c3f6638ad4dde7a7e9218c4f7189019b) Link: https://github.com/openwrt/openwrt/pull/18347 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/kernel/linux/modules/netdevices.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 4cfda093ca..86ca7c93a1 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -976,7 +976,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