Author: jogo
Date: 2015-07-04 14:52:57 +0200 (Sat, 04 Jul 2015)
New Revision: 46176

Modified:
   trunk/package/kernel/linux/modules/block.mk
Log:
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: Jonas Gorski <[email protected]>

Modified: trunk/package/kernel/linux/modules/block.mk
===================================================================
--- trunk/package/kernel/linux/modules/block.mk 2015-07-04 08:54:20 UTC (rev 
46175)
+++ trunk/package/kernel/linux/modules/block.mk 2015-07-04 12:52:57 UTC (rev 
46176)
@@ -616,9 +616,9 @@
        CONFIG_SCSI \
        CONFIG_BLK_DEV_SD
   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
-  AUTOLOAD:=$(call AutoLoad,40,sd_mod,1)
+  AUTOLOAD:=$(call AutoLoad,40,scsi_mod sd_mod,1)
 endef
 
 $(eval $(call KernelPackage,scsi-core))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to