summaryrefslogtreecommitdiff
path: root/sysutils/xmbmon/files/patch-sens_lm85.c
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2015-06-21 22:09:38 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2015-06-21 22:09:38 +0000
commit3c1b8094f3dd4f92cceaaf70d41c555928a3993f (patch)
tree7f6cb6c502594dd3d9a63a8198cc6a120d5590c2 /sysutils/xmbmon/files/patch-sens_lm85.c
parentFix duplicate ports: devel/lua-lpeg51 and devel/lua-lpeg (diff)
sysutils/xmbmon: Convert to OPTIONSNG
- Add PORTSCOUT to skip wrong distfile scanning - Fix patch files to reflect 'make makepatch'
Notes
Notes: svn path=/head/; revision=390266
Diffstat (limited to 'sysutils/xmbmon/files/patch-sens_lm85.c')
-rw-r--r--sysutils/xmbmon/files/patch-sens_lm85.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/xmbmon/files/patch-sens_lm85.c b/sysutils/xmbmon/files/patch-sens_lm85.c
index fa82b7413c17..0f0b6b75ac97 100644
--- a/sysutils/xmbmon/files/patch-sens_lm85.c
+++ b/sysutils/xmbmon/files/patch-sens_lm85.c
@@ -1,6 +1,6 @@
---- sens_lm85.c Mon Oct 13 10:12:58 2003
-+++ sens_lm85.c Wed Dec 21 15:37:56 2005
-@@ -53,7 +53,6 @@
+--- sens_lm85.c.orig 2003-10-13 07:12:58 UTC
++++ sens_lm85.c
+@@ -53,7 +53,6 @@ extern int numSMBSlave, canSMBSlave[128]
#define ADM_24FAN(nr) (0x28 + (nr))
#define ADM_24FANDIV 0x47
#define ADM_24MODE 0x16
@@ -8,7 +8,7 @@
#define ADM_EXTRES1 0x76
#define ADM_EXTRES2 0x77
#define ADM_FANPPR 0x7B
-@@ -213,7 +212,7 @@
+@@ -213,7 +212,7 @@ ret0:
static float lm85_temp( LM_METHODS *method, int no )
{
int n, ne;
@@ -17,7 +17,7 @@
if (no < 0 || 2 < no)
return 0xFFFF;
-@@ -226,18 +225,20 @@
+@@ -226,18 +225,20 @@ static float lm85_temp( LM_METHODS *meth
} else if (lm85chipid >= ADM1027) {
ne = method->Read(ADM_EXTRES2);
ext = 0.25 * ((ne >> ((no + 1) * 2)) & 0x03);
@@ -44,7 +44,7 @@
}
-@@ -262,10 +263,20 @@
+@@ -262,10 +263,20 @@ static float lm85_volt(LM_METHODS *metho
return 0xFFFF;
if (lm85chipid >= ADM1027) {