[OpenWrt-Devel] [PATCH] Add kmod-w1-slave-ds2413

Wouter Paesen wouter at blue-gate.be
Mon Jan 12 16:21:40 EST 2015


This patch adds support for building the ds2413 one-wire kernel module.

Signed-off-by: Wouter Paesen <wouter at blue-gate.be>
--- trunk/package/kernel/linux/modules/w1.mk    (revision 43950)
+++ trunk/package/kernel/linux/modules/w1.mk    (working copy)
@@ -174,3 +174,19 @@
  endef

  $(eval $(call KernelPackage,w1-slave-ds2760))
+
+define KernelPackage/w1-slave-ds2413
+  TITLE:=DS2413 2 Ch. Addressable Switch
+  KCONFIG:= \
+        CONFIG_W1_SLAVE_DS2413
+  FILES:=$(W1_SLAVES_DIR)/w1_ds2413.ko
+  AUTOLOAD:=$(call AutoProbe,w1_ds2413)
+  $(call AddDepends/w1)
+endef
+
+define KernelPackage/w1-slave-ds2413/description
+ Kernel module for 1-wire DS2413 Dual Channel Addressable Switch support
+endef
+
+$(eval $(call KernelPackage,w1-slave-ds2413))
+
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list