From: Álvaro Fernández Rojas Date: Wed, 23 Apr 2025 07:20:43 +0000 (+0200) Subject: kernel: r8127: load module at boot time X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=b5680bd11339b2ed489e1deeaaa2a3432691490a;p=openwrt%2Fopenwrt.git kernel: r8127: 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 --- diff --git a/package/kernel/r8127/Makefile b/package/kernel/r8127/Makefile index bb0c5e0a6c..b4b1c49eb5 100644 --- a/package/kernel/r8127/Makefile +++ b/package/kernel/r8127/Makefile @@ -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