[OpenWrt-Devel] [PATCH] support for scsi tape devices

Giuseppe Magnotta giuseppe.magnotta at gmail.com
Tue Nov 10 06:05:32 EST 2015


Support for scsi tape devices as kernel module.

This allow to use scsi tape devices in openwrt.

Signed-off-by: Giuseppe Magnotta <giuseppe.magnotta at gmail.com>

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/f1c31ccb/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