summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas2025-04-23 07:20:18 +0000
committerÁlvaro Fernández Rojas2025-04-23 07:20:18 +0000
commit9bb151d0c635241ceaa29525668cd225a10494d0 (patch)
tree1f9b05f01c96f2a0c6517eea67e03a4479c7d196
parentce9f539672d2d55cea97e47a0e33459179237781 (diff)
downloadopenwrt-9bb151d0c635241ceaa29525668cd225a10494d0.tar.gz
kernel: r8126: load 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. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rw-r--r--package/kernel/r8126/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/r8126/Makefile b/package/kernel/r8126/Makefile
index da43697bfb..9f0f074d62 100644
--- a/package/kernel/r8126/Makefile
+++ b/package/kernel/r8126/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=r8126
PKG_VERSION:=10.015.00
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://github.com/openwrt/rtl8126/releases/download/$(PKG_VERSION)
@@ -20,7 +20,7 @@ define KernelPackage/r8126
TITLE:=Realtek RTL8126 PCI 5 Gigabit Ethernet driver
DEPENDS:=@PCI_SUPPORT +kmod-libphy
FILES:=$(PKG_BUILD_DIR)/src/r8126.ko
- AUTOLOAD:=$(call AutoProbe,r8126)
+ AUTOLOAD:=$(call AutoProbe,r8126,1)
PROVIDES:=kmod-r8169
VARIANT:=regular
endef