aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1_family.h
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2005-04-17 14:58:14 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-22 00:43:08 -0400
commit718a538f945a84244a460df434c3f6f04701957b (patch)
tree1477ac9d085e53afdc963401537683a248436700 /drivers/w1/w1_family.h
parent2a5a68b840cbab31baab2d9b2e1e6de3b289ae1e (diff)
[PATCH] w1_therm: support for ds18b20, ds1822 thermal sensors.
Support for ds18b20, ds1822 thermal sensors. Based on code from Tiziano M_ller <tm@dev-zero.ch>. Patch is against 2.6.12-rc2 and should be applied without problems on top of any later kernels since w1_therm driver was not changed. Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/w1_family.h')
-rw-r--r--drivers/w1/w1_family.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/w1/w1_family.h b/drivers/w1/w1_family.h
index 07fa49412a90..2995c6cb869f 100644
--- a/drivers/w1/w1_family.h
+++ b/drivers/w1/w1_family.h
@@ -27,8 +27,10 @@
27#include <asm/atomic.h> 27#include <asm/atomic.h>
28 28
29#define W1_FAMILY_DEFAULT 0 29#define W1_FAMILY_DEFAULT 0
30#define W1_FAMILY_THERM 0x10
31#define W1_FAMILY_SMEM 0x01 30#define W1_FAMILY_SMEM 0x01
31#define W1_THERM_DS18S20 0x10
32#define W1_THERM_DS1822 0x22
33#define W1_THERM_DS18B20 0x28
32 34
33#define MAXNAMELEN 32 35#define MAXNAMELEN 32
34 36