Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260432
b: refs/heads/master
c: f7b1371
h: refs/heads/master
v: v3
  • Loading branch information
Christian Glindkamp authored and Linus Torvalds committed Jul 26, 2011
1 parent 30fc3a3 commit bc8fdb8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c958474b6d721ff09e4abf143efc07365d63aea5
refs/heads/master: f7b1371eb6b3ff72e38de220663b22f7cc9df296
9 changes: 9 additions & 0 deletions trunk/drivers/w1/slaves/w1_therm.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ static struct w1_family w1_therm_family_DS1822 = {
.fops = &w1_therm_fops,
};

static struct w1_family w1_therm_family_DS28EA00 = {
.fid = W1_THERM_DS28EA00,
.fops = &w1_therm_fops,
};

struct w1_therm_family_converter
{
u8 broken;
Expand All @@ -111,6 +116,10 @@ static struct w1_therm_family_converter w1_therm_families[] = {
.f = &w1_therm_family_DS18B20,
.convert = w1_DS18B20_convert_temp
},
{
.f = &w1_therm_family_DS28EA00,
.convert = w1_DS18B20_convert_temp
},
};

static inline int w1_DS18B20_convert_temp(u8 rom[9])
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/w1/w1_family.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#define W1_EEPROM_DS2431 0x2D
#define W1_FAMILY_DS2760 0x30
#define W1_FAMILY_DS2780 0x32
#define W1_THERM_DS28EA00 0x42

#define MAXNAMELEN 32

Expand Down

0 comments on commit bc8fdb8

Please sign in to comment.