kernel: support for scsi tape devices
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Nov 2015 22:14:45 +0000 (22:14 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Nov 2015 22:14:45 +0000 (22:14 +0000)
Support for scsi tape devices as kernel module.

This allow to use scsi tape devices in openwrt.

Signed-off-by: Giuseppe Magnotta <giuseppe.magnotta@gmail.com>
[moved to block.mk]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47482

package/kernel/linux/modules/block.mk

index 32e6165cfc79ceeab056e992c32b9ed7024cbeae..88cdcc5786e2e932e6a64845213ec5a01c76aa70 100644 (file)
@@ -654,3 +654,17 @@ define KernelPackage/scsi-cdrom
 endef
 
 $(eval $(call KernelPackage,scsi-cdrom))
+
+
+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))