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

Giuseppe Magnotta giuseppe.magnotta at gmail.com
Tue Nov 10 05:51:17 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 trunk (main devel tree) repository

diff --git a/package/kernel/linux/modules/other.mk
b/package/kernel/linux/modules/other.mk
index 55fb6f1..e26390d 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -969,3 +969,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/20151110/97bfed13/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