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 Remove the sanity check that tested the in...
details: https://anonhg.NetBSD.org/src/rev/5aa12dee0bf8
branches: trunk
changeset: 765589:5aa12dee0bf8
user: jruoho <jruoho%NetBSD.org@localhost>
date: Tue May 31 14:45:36 2011 +0000
description:
Remove the sanity check that tested the internal consistency of the "FID/VID
algorithm" used by K8. Tested by cegger@. The check is still included in the
original powernow(4) (where possible failures have probably gone unnoticed
because the driver is less noisy).
diffstat:
sys/arch/x86/acpi/acpi_cpu_md.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 56aa272e0a62 -r 5aa12dee0bf8 sys/arch/x86/acpi/acpi_cpu_md.c
--- a/sys/arch/x86/acpi/acpi_cpu_md.c Tue May 31 14:27:44 2011 +0000
+++ b/sys/arch/x86/acpi/acpi_cpu_md.c Tue May 31 14:45:36 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_md.c,v 1.58 2011/04/04 20:37:55 dyoung Exp $ */
+/* $NetBSD: acpi_cpu_md.c,v 1.59 2011/05/31 14:45:36 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.58 2011/04/04 20:37:55 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_md.c,v 1.59 2011/05/31 14:45:36 jruoho Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -917,9 +917,6 @@
return rv;
}
- if (cfid != fid || cvid != vid)
- return EIO;
-
return 0;
}
Home |
Main Index |
Thread Index |
Old Index