[openwrt/openwrt] kernel: r8125: load module at boot time

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 23 00:22:17 PDT 2025


noltari pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ce9f539672d2d55cea97e47a0e33459179237781

commit ce9f539672d2d55cea97e47a0e33459179237781
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Wed Apr 23 09:18:22 2025 +0200

    kernel: r8125: 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: Pavel Kubelun <be.dissent at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/18509
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 package/kernel/r8125/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/r8125/Makefile b/package/kernel/r8125/Makefile
index 232cf695b8..9dde19437a 100644
--- a/package/kernel/r8125/Makefile
+++ b/package/kernel/r8125/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=r8125
 PKG_VERSION:=9.015.00
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://github.com/openwrt/rtl8125/releases/download/$(PKG_VERSION)
@@ -20,7 +20,7 @@ define KernelPackage/r8125
   TITLE:=Realtek RTL8125 PCI 2.5 Gigabit Ethernet driver
   DEPENDS:=@PCI_SUPPORT +kmod-libphy
   FILES:=$(PKG_BUILD_DIR)/src/r8125.ko
-  AUTOLOAD:=$(call AutoProbe,r8125)
+  AUTOLOAD:=$(call AutoProbe,r8125,1)
   PROVIDES:=kmod-r8169
   VARIANT:=regular
 endef




More information about the lede-commits mailing list