summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/block.mk
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-11-15 22:14:45 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2015-11-15 22:14:45 +0000
commitd42669bf330fab4249c0feb33ae7894a7c935a35 (patch)
tree854332d82ba184df6089f24df887d6fd90ebb83a /package/kernel/linux/modules/block.mk
parentf1894ad1677d0e5772ec09ddde57cbeead371157 (diff)
downloadmtk-20170518-d42669bf330fab4249c0feb33ae7894a7c935a35.zip
mtk-20170518-d42669bf330fab4249c0feb33ae7894a7c935a35.tar.gz
mtk-20170518-d42669bf330fab4249c0feb33ae7894a7c935a35.tar.bz2
kernel: support for scsi tape devices
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
Diffstat (limited to 'package/kernel/linux/modules/block.mk')
-rw-r--r--package/kernel/linux/modules/block.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk
index 32e6165..88cdcc5 100644
--- a/package/kernel/linux/modules/block.mk
+++ b/package/kernel/linux/modules/block.mk
@@ -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))