Skip to content

Commit

Permalink
kernel: add iscsi-initator support
Browse files Browse the repository at this point in the history
Module is needed for using iscsi-initiator userspace applications

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
[added missing newline between kernel modules]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
  • Loading branch information
lucize authored and ynezz committed Jul 8, 2020
1 parent 9f02026 commit b88f820
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions package/kernel/linux/modules/block.mk
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,32 @@ endef
$(eval $(call KernelPackage,dm-raid))


define KernelPackage/iscsi-initiator
SUBMENU:=$(BLOCK_MENU)
TITLE:=iSCSI Initiator over TCP/IP
DEPENDS:=+kmod-scsi-core
KCONFIG:= \
CONFIG_INET \
CONFIG_SCSI_LOWLEVEL \
CONFIG_ISCSI_TCP \
CONFIG_SCSI_ISCSI_ATTRS
FILES:= \
$(LINUX_DIR)/drivers/scsi/iscsi_tcp.ko \
$(LINUX_DIR)/drivers/scsi/libiscsi.ko \
$(LINUX_DIR)/drivers/scsi/libiscsi_tcp.ko \
$(LINUX_DIR)/drivers/scsi/scsi_transport_iscsi.ko
AUTOLOAD:=$(call AutoProbe,libiscsi libiscsi_tcp scsi_transport_iscsi iscsi_tcp)
endef

define KernelPackage/iscsi-initiator/description
The iSCSI Driver provides a host with the ability to access storage through an
IP network. The driver uses the iSCSI protocol to transport SCSI requests and
responses over a TCP/IP network between the host (the "initiator") and "targets".
endef

$(eval $(call KernelPackage,iscsi-initiator))


define KernelPackage/md-mod
SUBMENU:=$(BLOCK_MENU)
TITLE:=MD RAID
Expand Down

0 comments on commit b88f820

Please sign in to comment.