|
@@ -91,6 +91,11 @@ static struct w1_family w1_therm_family_DS28EA00 = {
|
|
|
.fops = &w1_therm_fops,
|
|
|
};
|
|
|
|
|
|
+static struct w1_family w1_therm_family_DS1825 = {
|
|
|
+ .fid = W1_THERM_DS1825,
|
|
|
+ .fops = &w1_therm_fops,
|
|
|
+};
|
|
|
+
|
|
|
struct w1_therm_family_converter
|
|
|
{
|
|
|
u8 broken;
|
|
@@ -120,6 +125,10 @@ static struct w1_therm_family_converter w1_therm_families[] = {
|
|
|
.f = &w1_therm_family_DS28EA00,
|
|
|
.convert = w1_DS18B20_convert_temp
|
|
|
},
|
|
|
+ {
|
|
|
+ .f = &w1_therm_family_DS1825,
|
|
|
+ .convert = w1_DS18B20_convert_temp
|
|
|
+ }
|
|
|
};
|
|
|
|
|
|
static inline int w1_DS18B20_convert_temp(u8 rom[9])
|