All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH 3/4] hwmon: (k8temp) warn about erratum #141
@ 2008-12-05 17:52 Andreas Herrmann
  2008-12-09 22:32 ` [lm-sensors] [PATCH 3/4] hwmon: (k8temp) warn about erratum Rudolf Marek
  2008-12-10 10:15 ` Andreas Herrmann
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Herrmann @ 2008-12-05 17:52 UTC (permalink / raw)
  To: lm-sensors


Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
---
 drivers/hwmon/k8temp.c |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/drivers/hwmon/k8temp.c b/drivers/hwmon/k8temp.c
index 894a929..102f3ad 100644
--- a/drivers/hwmon/k8temp.c
+++ b/drivers/hwmon/k8temp.c
@@ -167,15 +167,14 @@ static int __devinit k8temp_probe(struct pci_dev *pdev,
 			goto exit;
 		}
 
-		dev_warn(&pdev->dev, "Temperature readouts might be wrong"
-			 " - check erratum #141\n");
-
-		/*
-		 * AMD NPT familys 0fh, i.e. RevF and RevG:
-		 * meaning of SEL_CORE bit is inverted
-		 */
-		if (model >= 0x40)
+		/* AMD NPT familys 0fh, i.e. RevF and RevG */
+		if (model >= 0x40) {
+			/* meaning of SEL_CORE bit is inverted */
 			data->swap_core_select = 1;
+			dev_warn(&pdev->dev, "Temperature readouts might be "
+				 "wrong - check erratum #141\n");
+		}
+
 
 		break;
 	}
-- 
1.6.0.4




_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-10 10:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-05 17:52 [lm-sensors] [PATCH 3/4] hwmon: (k8temp) warn about erratum #141 Andreas Herrmann
2008-12-09 22:32 ` [lm-sensors] [PATCH 3/4] hwmon: (k8temp) warn about erratum Rudolf Marek
2008-12-10 10:15 ` Andreas Herrmann

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.