[openwrt/openwrt] kernel: modules: load e1000e driver during pre-init stage

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 6 10:06:31 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f22f533ebcbc0f7123481a01abd3a547f0232260

commit f22f533ebcbc0f7123481a01abd3a547f0232260
Author: Til Kaiser <mail at tk154.de>
AuthorDate: Sat Oct 12 18:32:08 2024 +0200

    kernel: modules: load e1000e driver during pre-init stage
    
    Set the pre-init boot flag for the e1000e network device
    driver so that it is loaded during the early pre-init
    stage of the boot process instead of later.
    
    Then, it is possible to rename its network ports via the
    ucidef_set_network_device_path function from the
    02_network script while booting.
    
    Signed-off-by: Til Kaiser <mail at tk154.de>
    Link: https://github.com/openwrt/openwrt/pull/17251
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/kernel/linux/modules/netdevices.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index eb44ed5b6b..0aed1655a9 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -1259,7 +1259,7 @@ define KernelPackage/e1000e
   DEPENDS:=@PCIE_SUPPORT +kmod-ptp
   KCONFIG:=CONFIG_E1000E
   FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko
-  AUTOLOAD:=$(call AutoProbe,e1000e)
+  AUTOLOAD:=$(call AutoProbe,e1000e,1)
   MODPARAMS.e1000e:= \
     IntMode=1 \
     InterruptThrottleRate=4,4,4,4,4,4,4,4




More information about the lede-commits mailing list