Module Name: src
Committed By: cegger
Date: Tue Jun 16 07:34:40 UTC 2009
Modified Files:
src/sys/arch/x86/pci: amdtemp.c
Log Message:
- use <sys/bus.h> and <sys/cpu.h>
- add reference to family11h documentation
- add reference to AMD K8 Errata #141
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x86/pci/amdtemp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/pci/amdtemp.c
diff -u src/sys/arch/x86/pci/amdtemp.c:1.7 src/sys/arch/x86/pci/amdtemp.c:1.8
--- src/sys/arch/x86/pci/amdtemp.c:1.7 Thu Mar 12 14:24:17 2009
+++ src/sys/arch/x86/pci/amdtemp.c Tue Jun 16 07:34:40 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: amdtemp.c,v 1.7 2009/03/12 14:24:17 cegger Exp $ */
+/* $NetBSD: amdtemp.c,v 1.8 2009/06/16 07:34:40 cegger Exp $ */
/* $OpenBSD: kate.c,v 1.2 2008/03/27 04:52:03 cnst Exp $ */
/*
@@ -48,7 +48,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdtemp.c,v 1.7 2009/03/12 14:24:17 cegger Exp $ ");
+__KERNEL_RCSID(0, "$NetBSD: amdtemp.c,v 1.8 2009/06/16 07:34:40 cegger Exp $ ");
#include <sys/param.h>
#include <sys/systm.h>
@@ -56,8 +56,8 @@
#include <sys/kmem.h>
#include <dev/sysmon/sysmonvar.h>
-#include <machine/bus.h>
-#include <machine/cpu.h>
+#include <sys/bus.h>
+#include <sys/cpu.h>
#include <machine/specialreg.h>
#include <dev/pci/pcireg.h>
@@ -67,8 +67,14 @@
/*
* AMD K8:
* http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/32559.pdf
+ * AMD K8 Errata: #141
+ * http://support.amd.com/us/Processor_TechDocs/33610_PUB_Rev3%2042v3.pdf
+ *
* Family10h:
* http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/31116.PDF
+ *
+ * Family11h:
+ * http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/41256.pdf
*/
/* AMD Proessors, Function 3 -- Miscellaneous Control