From d42669bf330fab4249c0feb33ae7894a7c935a35 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 15 Nov 2015 22:14:45 +0000 Subject: [PATCH] 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 [moved to block.mk] Signed-off-by: Hauke Mehrtens SVN-Revision: 47482 --- package/kernel/linux/modules/block.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk index 32e6165cfc..88cdcc5786 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))