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 <noltari@gmail.com> (cherry picked from commit 7aeb837bf46acdd68b5ed373741be897bbb2067d)
This commit is contained in:
parent
1eab9b8a9b
commit
6c15645a12
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=r8101
|
PKG_NAME:=r8101
|
||||||
PKG_VERSION:=1.039.00
|
PKG_VERSION:=1.039.00
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=https://github.com/openwrt/rtl8101/releases/download/$(PKG_VERSION)
|
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
|
TITLE:=Realtek RTL8101 PCI Fast Ethernet driver
|
||||||
DEPENDS:=@PCI_SUPPORT +kmod-libphy
|
DEPENDS:=@PCI_SUPPORT +kmod-libphy
|
||||||
FILES:=$(PKG_BUILD_DIR)/src/r8101.ko
|
FILES:=$(PKG_BUILD_DIR)/src/r8101.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,r8101)
|
AUTOLOAD:=$(call AutoProbe,r8101,1)
|
||||||
PROVIDES:=kmod-r8169
|
PROVIDES:=kmod-r8169
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user