summaryrefslogtreecommitdiffstats
path: root/drivers/w1/Makefile
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2005-08-17 15:24:37 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-08 14:41:27 -0700
commit0a25e4d5647003a32ba5496f9d0f40ba9c1e3863 (patch)
tree678a0f192d7b72270ea3431f642baca9566a249b /drivers/w1/Makefile
parenta45f105ad4b456f99f622642056ae533f70710b7 (diff)
downloadlinux-0a25e4d5647003a32ba5496f9d0f40ba9c1e3863.tar.bz2
[PATCH] w1_ds2433: Added crc16 protection and read caching.
The changes to ds2433 to add CRC16 protection and read caching. Signed-off-by: Ben Gardner <bgardner@wabtec.com> Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/Makefile')
-rw-r--r--drivers/w1/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/w1/Makefile b/drivers/w1/Makefile
index d894a9896b18..01fb54391470 100644
--- a/drivers/w1/Makefile
+++ b/drivers/w1/Makefile
@@ -6,6 +6,10 @@ ifneq ($(CONFIG_NET), y)
EXTRA_CFLAGS += -DNETLINK_DISABLED
endif
+ifeq ($(CONFIG_W1_DS2433_CRC), y)
+EXTRA_CFLAGS += -DCONFIG_W1_F23_CRC
+endif
+
obj-$(CONFIG_W1) += wire.o
wire-objs := w1.o w1_int.o w1_family.o w1_netlink.o w1_io.o
@@ -13,7 +17,7 @@ obj-$(CONFIG_W1_MATROX) += matrox_w1.o
obj-$(CONFIG_W1_THERM) += w1_therm.o
obj-$(CONFIG_W1_SMEM) += w1_smem.o
-obj-$(CONFIG_W1_DS9490) += ds9490r.o
+obj-$(CONFIG_W1_DS9490) += ds9490r.o
ds9490r-objs := dscore.o
obj-$(CONFIG_W1_DS9490_BRIDGE) += ds_w1_bridge.o