From: david_knierim@earthlink.net (David Knierim)
To: lm-sensors@vger.kernel.org
Subject: LM93 vccp_limit_type "relative" does not work
Date: Thu, 19 May 2005 06:25:19 +0000 [thread overview]
Message-ID: <417046B9.3080703@earthlink.net> (raw)
In-Reply-To: <416EDF3D.7090307@earthlink.net>
Mark M. Hoffman wrote:
> Hi David:
>
> * Mark M. Hoffman <mhoffman@lightlink.com> [2004-10-14 22:58:18 -0400]:
>
>>* David Knierim <david_knierim@earthlink.net> [2004-10-14 16:19:09 -0400]:
>>
>>>On my box, the register 0xed has the dynamic vccp limit masked out when
>>>the box boots up. Loading the driver makes no difference, so step #2
>>>does not appear to be being done.
>>
>>Oops, that's a bug.
>
>
> Also, #VRDHOT errors were masked by default - not sure if you had tested
> that yet. I fixed it as well in the same CVS commit.
>
> Regards,
>
Mark,
Thanks for the fast turn around. I'm very impressed. The
alarming didn't work right, but I figured out what was wrong. The
attached patch fixes it and adds messages if the read retry counts are
exceeded.
David Knierim
--- kernel/chips/lm93.c.orig 2004-10-15 14:35:06.000000000 -0400
+++ kernel/chips/lm93.c 2004-10-15 14:37:43.000000000 -0400
@@ -382,6 +382,7 @@
}
/* <TODO> what to return in case of error? */
+ printk(KERN_ERR "lm93.o: All read byte retries failed!!\n");
return 0;
}
@@ -416,6 +417,7 @@
}
/* <TODO> what to return in case of error? */
+ printk(KERN_ERR "lm93.o: All read word retries failed!!\n");
return 0;
}
@@ -849,12 +851,12 @@
result = b1.host_status_2 & 0x3f;
if (vccp_limit_type[0])
- result |= (b1.host_status_1 & 0x10) << 2;
+ result |= (b1.host_status_4 & 0x10) << 2;
else
result |= b1.host_status_2 & 0x40;
if (vccp_limit_type[1])
- result |= (b1.host_status_1 & 0x20) << 2;
+ result |= (b1.host_status_4 & 0x20) << 2;
else
result |= b1.host_status_2 & 0x80
next prev parent reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 LM93 vccp_limit_type "relative" does not work David Knierim
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` David Knierim [this message]
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` Mark M. Hoffman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=417046B9.3080703@earthlink.net \
--to=david_knierim@earthlink.net \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.