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

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 23 02:14:20 PDT 2025


noltari pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/7bef5367a7e4575d54fc89a9b6ac1cd0c212c014

commit 7bef5367a7e4575d54fc89a9b6ac1cd0c212c014
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Wed Apr 23 09:17:21 2025 +0200

    kernel: r8168: 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 at gmail.com>
    (cherry picked from commit 617961403c27733de5e9c11b0b2e6ea44d2dcec4)
---
 package/kernel/r8168/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/r8168/Makefile b/package/kernel/r8168/Makefile
index 0b846113df..d35f3dc61c 100644
--- a/package/kernel/r8168/Makefile
+++ b/package/kernel/r8168/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=r8168
 PKG_VERSION:=8.055.00
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://github.com/openwrt/rtl8168/releases/download/$(PKG_VERSION)
@@ -20,7 +20,7 @@ define KernelPackage/r8168
   TITLE:=Realtek RTL8168 PCI Gigabit Ethernet driver
   DEPENDS:=@PCI_SUPPORT +kmod-libphy
   FILES:=$(PKG_BUILD_DIR)/src/r8168.ko
-  AUTOLOAD:=$(call AutoProbe,r8168)
+  AUTOLOAD:=$(call AutoProbe,r8168,1)
   PROVIDES:=kmod-r8169
 endef
 




More information about the lede-commits mailing list