Module Name:    src
Committed By:   jruoho
Date:           Tue Oct 26 07:54:12 UTC 2010

Modified Files:
        src/sys/arch/x86/include: powernow.h

Log Message:
Remove some unused (ACPI) constants.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x86/include/powernow.h

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/include/powernow.h
diff -u src/sys/arch/x86/include/powernow.h:1.11 src/sys/arch/x86/include/powernow.h:1.12
--- src/sys/arch/x86/include/powernow.h:1.11	Fri Aug 20 06:34:32 2010
+++ src/sys/arch/x86/include/powernow.h	Tue Oct 26 07:54:12 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: powernow.h,v 1.11 2010/08/20 06:34:32 jruoho Exp $	*/
+/*	$NetBSD: powernow.h,v 1.12 2010/10/26 07:54:12 jruoho Exp $	*/
 
 /*-
  * Copyright (c) 2004 Martin V�giard.
@@ -92,12 +92,6 @@
 #define PN7_STA_SVID(x)			(((x) >> 40) & 0x1f)
 #define PN7_STA_MVID(x)			(((x) >> 48) & 0x1f)
 
-/*
- * ACPI ctr_val status register to powernow k7 configuration
- */
-#define PN7_ACPI_CTRL_TO_VID(x)		(((x) >> 5) & 0x1f)
-#define PN7_ACPI_CTRL_TO_SGTC(x)	(((x) >> 10) & 0xffff)
-
 /* Bitfields used by K8 */
 #define PN8_CTR_FID(x)			((x) & 0x3f)
 #define PN8_CTR_VID(x)			(((x) & 0x1f) << 8)
@@ -123,15 +117,6 @@
 #define PN8_PSB_TO_MVS(x)		(((x) >> 4) & 0x03)
 #define PN8_PSB_TO_BATT(x)		(((x) >> 6) & 0x03)
 
-/* ACPI ctr_val status register to powernow k8 configuration */
-#define ACPI_PN8_CTRL_TO_FID(x)		((x) & 0x3f)
-#define ACPI_PN8_CTRL_TO_VID(x)		(((x) >> 6) & 0x1f)
-#define ACPI_PN8_CTRL_TO_VST(x)		(((x) >> 11) & 0x1f)
-#define ACPI_PN8_CTRL_TO_MVS(x)		(((x) >> 18) & 0x03)
-#define ACPI_PN8_CTRL_TO_PLL(x)		(((x) >> 20) & 0x7f)
-#define ACPI_PN8_CTRL_TO_RVO(x)		(((x) >> 28) & 0x03)
-#define ACPI_PN8_CTRL_TO_IRT(x)		(((x) >> 30) & 0x03)
-
 #define POWERNOW_MAX_STATES		16
 
 struct powernow_state {

Reply via email to