]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: r8127: load module at boot time
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 23 Apr 2025 07:20:43 +0000 (09:20 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 11 Jun 2025 16:34:53 +0000 (18:34 +0200)
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>
(cherry picked from commit b5680bd11339b2ed489e1deeaaa2a3432691490a)

package/kernel/r8127/Makefile

index bb0c5e0a6ca810599c3a10bc7bfc6ddaa4f2b1a0..b4b1c49eb5edd13843342a75fce1d041089c4703 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=r8127
 PKG_VERSION:=11.014.00
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://github.com/openwrt/rtl8127/releases/download/$(PKG_VERSION)
@@ -20,7 +20,7 @@ define KernelPackage/r8127
   TITLE:=Realtek RTL8127 PCI 10 Gigabit Ethernet driver
   DEPENDS:=@PCI_SUPPORT +kmod-libphy
   FILES:=$(PKG_BUILD_DIR)/src/r8127.ko
-  AUTOLOAD:=$(call AutoProbe,r8127)
+  AUTOLOAD:=$(call AutoProbe,r8127,1)
   PROVIDES:=kmod-r8169
   VARIANT:=regular
 endef