define AddDepends/ata
SUBMENU:=$(BLOCK_MENU)
- DEPENDS+=kmod-ata-core $(1)
+ DEPENDS+=+kmod-ata-core $(1)
endef
$(LINUX_DIR)/drivers/ata/ahci_platform.ko \
$(LINUX_DIR)/drivers/ata/libahci_platform.ko
AUTOLOAD:=$(call AutoLoad,40,libahci libahci_platform ahci_platform,1)
- $(call AddDepends/ata,@TARGET_ipq806x||TARGET_sunxi)
+ $(call AddDepends/ata,@TARGET_ipq806x||TARGET_layerscape||TARGET_rockchip||TARGET_sunxi)
endef
define KernelPackage/ata-ahci-platform/description
$(eval $(call KernelPackage,ata-artop))
-define KernelPackage/ata-marvell-sata
- TITLE:=Marvell Serial ATA support
- KCONFIG:=CONFIG_SATA_MV
- FILES:=$(LINUX_DIR)/drivers/ata/sata_mv.ko
- AUTOLOAD:=$(call AutoLoad,41,sata_mv,1)
- $(call AddDepends/ata)
-endef
-
-define KernelPackage/ata-marvell-sata/description
- SATA support for marvell chipsets
-endef
-
-$(eval $(call KernelPackage,ata-marvell-sata))
-
-
define KernelPackage/ata-nvidia-sata
TITLE:=Nvidia Serial ATA support
KCONFIG:=CONFIG_SATA_NV
define KernelPackage/ata-pdc202xx-old
- SUBMENU:=$(BLOCK_MENU)
TITLE:=Older Promise PATA controller support
- DEPENDS:=kmod-ata-core
KCONFIG:= \
CONFIG_ATA_SFF=y \
CONFIG_PATA_PDC_OLD
FILES:=$(LINUX_DIR)/drivers/ata/pata_pdc202xx_old.ko
AUTOLOAD:=$(call AutoLoad,41,pata_pdc202xx_old,1)
+ $(call AddDepends/ata)
endef
define KernelPackage/ata-pdc202xx-old/description
$(eval $(call KernelPackage,block2mtd))
+define KernelPackage/dax
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=DAX: direct access to differentiated memory
+ KCONFIG:=CONFIG_DAX
+ FILES:=$(LINUX_DIR)/drivers/dax/dax.ko
+endef
+
+$(eval $(call KernelPackage,dax))
+
+
define KernelPackage/dm
SUBMENU:=$(BLOCK_MENU)
TITLE:=Device Mapper
- DEPENDS:=+kmod-crypto-manager
+ DEPENDS:=+kmod-crypto-manager +kmod-dax +KERNEL_KEYS:kmod-keys-encrypted
# All the "=n" are unnecessary, they're only there
# to stop the config from asking the question.
# MIRROR is M because I've needed it for pvmove.
CONFIG_BLK_DEV_DM \
CONFIG_DM_CRYPT \
CONFIG_DM_MIRROR
- FILES:=$(LINUX_DIR)/drivers/md/dm-*.ko
- AUTOLOAD:=$(call AutoLoad,30,dm-mod dm-log dm-region-hash dm-mirror dm-crypt)
+ FILES:= \
+ $(LINUX_DIR)/drivers/md/dm-mod.ko \
+ $(LINUX_DIR)/drivers/md/dm-crypt.ko \
+ $(LINUX_DIR)/drivers/md/dm-log.ko \
+ $(LINUX_DIR)/drivers/md/dm-mirror.ko \
+ $(LINUX_DIR)/drivers/md/dm-region-hash.ko
+ AUTOLOAD:=$(call AutoLoad,30,dm-mod dm-log dm-region-hash dm-mirror dm-crypt,1)
endef
define KernelPackage/dm/description
$(eval $(call KernelPackage,dm))
+define KernelPackage/dm-raid
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=LVM2 raid support
+ DEPENDS:=+kmod-dm +kmod-md-mod \
+ +kmod-md-raid0 +kmod-md-raid1 +kmod-md-raid10 +kmod-md-raid456
+ KCONFIG:= \
+ CONFIG_DM_RAID
+ FILES:=$(LINUX_DIR)/drivers/md/dm-raid.ko
+ AUTOLOAD:=$(call AutoLoad,31,dm-raid)
+endef
+
+define KernelPackage/dm-raid/description
+ Kernel module necessary for LVM2 raid support
+endef
+
+$(eval $(call KernelPackage,dm-raid))
+
+
+define KernelPackage/iscsi-initiator
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=iSCSI Initiator over TCP/IP
+ DEPENDS:=+kmod-scsi-core +kmod-crypto-hash
+ KCONFIG:= \
+ CONFIG_INET \
+ CONFIG_SCSI_LOWLEVEL=y \
+ 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)
define KernelPackage/md-raid456
-$(call KernelPackage/md/Depends,+kmod-lib-raid6 +kmod-lib-xor +!LINUX_3_18:kmod-lib-crc32c)
+$(call KernelPackage/md/Depends,+kmod-lib-raid6 +kmod-lib-xor +kmod-lib-crc32c)
TITLE:=RAID Level 456 Driver
KCONFIG:= \
CONFIG_ASYNC_CORE \
CONFIG_BLK_DEV_LOOP \
CONFIG_BLK_DEV_CRYPTOLOOP=n
FILES:=$(LINUX_DIR)/drivers/block/loop.ko
- AUTOLOAD:=$(call AutoLoad,30,loop)
+ AUTOLOAD:=$(call AutoLoad,30,loop,1)
endef
define KernelPackage/loop/description
$(eval $(call KernelPackage,nbd))
+define KernelPackage/nvme
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=NVM Express block device
+ DEPENDS:=@PCI_SUPPORT +kmod-hwmon-core
+ KCONFIG:= \
+ CONFIG_NVME_CORE \
+ CONFIG_BLK_DEV_NVME \
+ CONFIG_NVME_MULTIPATH=n \
+ CONFIG_NVME_HWMON=y
+ FILES:= \
+ $(LINUX_DIR)/drivers/nvme/host/nvme-core.ko \
+ $(LINUX_DIR)/drivers/nvme/host/nvme.ko
+ AUTOLOAD:=$(call AutoLoad,30,nvme-core nvme,1)
+endef
+
+define KernelPackage/nvme/description
+ Kernel module for NVM Express solid state drives directly
+ connected to the PCI or PCI Express bus.
+endef
+
+$(eval $(call KernelPackage,nvme))
+
+
define KernelPackage/scsi-core
SUBMENU:=$(BLOCK_MENU)
TITLE:=SCSI device support
KCONFIG:= \
CONFIG_SCSI \
+ CONFIG_SCSI_COMMON \
CONFIG_BLK_DEV_SD
FILES:= \
$(LINUX_DIR)/drivers/scsi/scsi_mod.ko \
+ $(LINUX_DIR)/drivers/scsi/scsi_common.ko \
$(LINUX_DIR)/drivers/scsi/sd_mod.ko
- AUTOLOAD:=$(call AutoLoad,40,scsi_mod sd_mod,1)
+ AUTOLOAD:=$(call AutoLoad,40,scsi_mod scsi_common sd_mod,1)
endef
$(eval $(call KernelPackage,scsi-core))
$(eval $(call KernelPackage,scsi-generic))
+define KernelPackage/cdrom
+ TITLE:=Kernel library module for CD / DVD drives
+ KCONFIG:=CONFIG_CDROM
+ HIDDEN:=1
+ FILES:=$(LINUX_DIR)/drivers/cdrom/cdrom.ko
+endef
+
+$(eval $(call KernelPackage,cdrom))
+
+
define KernelPackage/scsi-cdrom
SUBMENU:=$(BLOCK_MENU)
TITLE:=Kernel support for CD / DVD drives
- DEPENDS:=+kmod-scsi-core
+ DEPENDS:=+kmod-scsi-core +kmod-cdrom
KCONFIG:= \
CONFIG_BLK_DEV_SR \
CONFIG_BLK_DEV_SR_VENDOR=n
- FILES:= \
- $(LINUX_DIR)/drivers/cdrom/cdrom.ko \
- $(LINUX_DIR)/drivers/scsi/sr_mod.ko
+ FILES:=$(LINUX_DIR)/drivers/scsi/sr_mod.ko
AUTOLOAD:=$(call AutoLoad,45,sr_mod)
endef
endef
$(eval $(call KernelPackage,scsi-tape))
+
+define KernelPackage/iosched-bfq
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=Kernel support for BFQ I/O scheduler
+ KCONFIG:= \
+ CONFIG_IOSCHED_BFQ \
+ CONFIG_BFQ_GROUP_IOSCHED=y \
+ CONFIG_BFQ_CGROUP_DEBUG=n
+ FILES:= \
+ $(LINUX_DIR)/block/bfq.ko
+ AUTOLOAD:=$(call AutoLoad,10,bfq)
+endef
+
+$(eval $(call KernelPackage,iosched-bfq))