From: Álvaro Fernández Rojas Date: Wed, 23 Apr 2025 07:11:51 +0000 (+0200) Subject: kernel: r8101: load module at boot time X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=7aeb837bf46acdd68b5ed373741be897bbb2067d;p=openwrt%2Fstaging%2Fstintel.git kernel: r8101: 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/r8101/Makefile b/package/kernel/r8101/Makefile index 2a09855c05..4b528036a2 100644 --- a/package/kernel/r8101/Makefile +++ b/package/kernel/r8101/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=r8101 PKG_VERSION:=1.039.00 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://github.com/openwrt/rtl8101/releases/download/$(PKG_VERSION) @@ -20,7 +20,7 @@ define KernelPackage/r8101 TITLE:=Realtek RTL8101 PCI Fast Ethernet driver DEPENDS:=@PCI_SUPPORT +kmod-libphy FILES:=$(PKG_BUILD_DIR)/src/r8101.ko - AUTOLOAD:=$(call AutoProbe,r8101) + AUTOLOAD:=$(call AutoProbe,r8101,1) PROVIDES:=kmod-r8169 endef