Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/acpi Fix missing case for AMD 0x15.



details:   https://anonhg.NetBSD.org/src/rev/7c12a2e54c1e
branches:  trunk
changeset: 773650:7c12a2e54c1e
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sat Feb 11 22:09:47 2012 +0000

description:
Fix missing case for AMD 0x15.

diffstat:

 sys/arch/x86/acpi/acpi_cpu_md.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r df90c2f2aa1b -r 7c12a2e54c1e sys/arch/x86/acpi/acpi_cpu_md.c
--- a/sys/arch/x86/acpi/acpi_cpu_md.c   Sat Feb 11 22:07:53 2012 +0000
+++ b/sys/arch/x86/acpi/acpi_cpu_md.c   Sat Feb 11 22:09:47 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_md.c,v 1.70 2012/02/11 22:07:53 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_md.c,v 1.71 2012/02/11 22:09:47 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2010, 2011 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -27,7 +27,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_md.c,v 1.70 2012/02/11 22:07:53 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_md.c,v 1.71 2012/02/11 22:09:47 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -553,7 +553,8 @@
                case 0x10:
                case 0x11:
                case 0x12:
-               case 0x14: /* AMD Fusion */
+               case 0x14:
+               case 0x15:
                        msr.ps_control_addr = MSR_10H_CONTROL;
                        msr.ps_control_mask = __BITS(0, 2);
 



Home | Main Index | Thread Index | Old Index