- use <sys/bus.h> and <sys/cpu.h>

- add reference to family11h documentation
- add reference to AMD K8 Errata #141
This commit is contained in:
cegger 2009-06-16 07:34:40 +00:00
parent 39bb2e98a1
commit 18130206e3

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: amdtemp.c,v 1.7 2009/03/12 14:24:17 cegger Exp $ ");
#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 @@ __KERNEL_RCSID(0, "$NetBSD: amdtemp.c,v 1.7 2009/03/12 14:24:17 cegger Exp $ ");
/*
* 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