[OpenWrt-Devel] Patch to add scsi tape to kernel modules

Giuseppe Magnotta giuseppe.magnotta at gmail.com
Thu Nov 5 08:16:50 EST 2015


Hi,

I would like to submit a patch to add the scsi tape to the kernel modules.

For me it's useful because my openwrt device will manage also backup.

This is against 15.05 chaos_calmer.

Regards,
Giuseppe

diff --git a/package/kernel/linux/modules/other.mk
b/package/kernel/linux/modules/other.mk
index 9a3d73c..5b08e36 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -954,3 +954,17 @@ define KernelPackage/echo/description
 endef

 $(eval $(call KernelPackage,echo))
+
+
+define KernelPackage/scsi-tape
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Kernel support for scsi tape drives
+  DEPENDS:=+kmod-scsi-core
+  KCONFIG:= \
+    CONFIG_CHR_DEV_ST
+  FILES:= \
+    $(LINUX_DIR)/drivers/scsi/st.ko
+  AUTOLOAD:=$(call AutoLoad,45,st)
+endef
+
+$(eval $(call KernelPackage,scsi-tape))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20151105/503db107/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list