summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2004-01-30 13:54:36 -0500
committerLen Brown <len.brown@intel.com>2004-01-30 13:54:36 -0500
commit0a8c7fbfa4962e2b88375cf5195c423ac0fd2fd5 (patch)
tree082640ea5c0c7ee030c0abdfd1edda9f3299e067 /include
parent659f7c1aa0fb77d34f4c5608d55c08ac1c9a6fba (diff)
parent1e1b8daeba876fde02af9894b93b4315922362c0 (diff)
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.1
into intel.com:/home/lenb/src/linux-acpi-test-2.6.2
Diffstat (limited to 'include')
-rw-r--r--include/acpi/processor.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index f693a665b00a..dab7521d8ac6 100644
--- a/include/acpi/processor.h
+++ b/include/acpi/processor.h
@@ -9,8 +9,6 @@
#define ACPI_PROCESSOR_MAX_C2_LATENCY 100
#define ACPI_PROCESSOR_MAX_C3_LATENCY 1000
-#define ACPI_PROCESSOR_MAX_PERFORMANCE 8
-
#define ACPI_PROCESSOR_MAX_THROTTLING 16
#define ACPI_PROCESSOR_MAX_THROTTLE 250 /* 25% */
#define ACPI_PROCESSOR_MAX_DUTY_WIDTH 4
@@ -67,20 +65,22 @@ struct acpi_processor_px {
acpi_integer status; /* success indicator */
};
+#define ACPI_PDC_REVISION_ID 0x1
+
struct acpi_processor_performance {
- int state;
- int platform_limit;
- u16 control_register;
- u16 status_register;
- u8 control_register_bit_width;
- u8 status_register_bit_width;
- int state_count;
- struct acpi_processor_px states[ACPI_PROCESSOR_MAX_PERFORMANCE];
- struct cpufreq_frequency_table freq_table[ACPI_PROCESSOR_MAX_PERFORMANCE];
- struct acpi_processor *pr;
+ unsigned int state;
+ unsigned int platform_limit;
+ struct acpi_pct_register control_register;
+ struct acpi_pct_register status_register;
+ unsigned int state_count;
+ struct acpi_processor_px *states;
+
+ /* the _PDC objects passed by the driver, if any */
+ struct acpi_object_list *pdc;
};
+
/* Throttling Control */
struct acpi_processor_tx {