Skip to content
Snippets Groups Projects
Commit f8548c0b authored by jogo's avatar jogo
Browse files

kernel: kmod-scsi-core: fix load on install


sd_mod depends on scsi_mod, but due to it being an AutoLoad and not
AutoProbe module, it was not loading when installing the package,
causing unknown symbol errors for sd_mod and anything depending on it.

Closes #14927, #18293, #19351.

Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46176 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 9c7206e4
No related branches found
No related tags found
No related merge requests found
...@@ -616,9 +616,9 @@ define KernelPackage/scsi-core ...@@ -616,9 +616,9 @@ define KernelPackage/scsi-core
CONFIG_SCSI \ CONFIG_SCSI \
CONFIG_BLK_DEV_SD CONFIG_BLK_DEV_SD
FILES:= \ FILES:= \
$(if $(findstring y,$(CONFIG_SCSI)),,$(LINUX_DIR)/drivers/scsi/scsi_mod.ko) \ $(LINUX_DIR)/drivers/scsi/scsi_mod.ko \
$(LINUX_DIR)/drivers/scsi/sd_mod.ko $(LINUX_DIR)/drivers/scsi/sd_mod.ko
AUTOLOAD:=$(call AutoLoad,40,sd_mod,1) AUTOLOAD:=$(call AutoLoad,40,scsi_mod sd_mod,1)
endef endef
$(eval $(call KernelPackage,scsi-core)) $(eval $(call KernelPackage,scsi-core))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment