aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-11-12 21:58:19 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2017-12-16 22:12:24 +0100
commit38be62b97ecd313b725f1165a4ffedf166095c06 (patch)
tree0a9f56df7645d553c56a2190cc74225a5fbedd05 /package/kernel/linux/modules
parentefd185405022d3dc0f3a0e2c41722be9d04c48e7 (diff)
downloadupstream-38be62b97ecd313b725f1165a4ffedf166095c06.tar.gz
upstream-38be62b97ecd313b725f1165a4ffedf166095c06.tar.bz2
upstream-38be62b97ecd313b725f1165a4ffedf166095c06.zip
kernel: add kmod-dax
In kernel 4.14 kmod-dm depends on kmod-dax. Add DAX: "Direct access to differentiated memory" to LEDE. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r--package/kernel/linux/modules/block.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk
index 62f08218c6..ab9d7af8ca 100644
--- a/package/kernel/linux/modules/block.mk
+++ b/package/kernel/linux/modules/block.mk
@@ -206,10 +206,21 @@ endef
$(eval $(call KernelPackage,block2mtd))
+define KernelPackage/dax
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=DAX: direct access to differentiated memory
+ DEPENDS:=@LINUX_4_14
+ 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 +LINUX_4_14:kmod-dax
# 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.