Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/include Remove some unused (ACPI) constants.
details: https://anonhg.NetBSD.org/src/rev/974b7d42b407
branches: trunk
changeset: 758208:974b7d42b407
user: jruoho <jruoho%NetBSD.org@localhost>
date: Tue Oct 26 07:54:12 2010 +0000
description:
Remove some unused (ACPI) constants.
diffstat:
sys/arch/x86/include/powernow.h | 17 +----------------
1 files changed, 1 insertions(+), 16 deletions(-)
diffs (38 lines):
diff -r 76c16ede65f2 -r 974b7d42b407 sys/arch/x86/include/powernow.h
--- a/sys/arch/x86/include/powernow.h Tue Oct 26 05:42:51 2010 +0000
+++ b/sys/arch/x86/include/powernow.h Tue Oct 26 07:54:12 2010 +0000
@@ -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 {
Home |
Main Index |
Thread Index |
Old Index