Skip to contentSkip to conversation

Patch for ThinkPad R40e

PATCH Bartlomiej Swiercz 1 participant 1 message May 29, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

Hello,

This very simple and obvious patch for the ThinkPad R40e with the latest bios version. This patch adds entry for the latest bios version to the processor_power_dmi_table[] table (file:
drivers/acpi/processor_idle.c).

Signature · 2 lines
Pozdrawiam/Regards,
Bartlomiej Swiercz
drivers/acpi/processor_idle.c renamed from drivers/acpi/processor_idle.c.orig +3 -0
@@ -99,6 +99,9 @@ static int set_max_cstate(struct dmi_sys
 static struct dmi_system_id __cpuinitdata processor_power_dmi_table[] = {
 	{ set_max_cstate, "IBM ThinkPad R40e", {
 	  DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
+	  DMI_MATCH(DMI_BIOS_VERSION,"1SET70WW")}, (void *)1},
+	{ set_max_cstate, "IBM ThinkPad R40e", {
+	  DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
 	  DMI_MATCH(DMI_BIOS_VERSION,"1SET60WW")}, (void *)1},
 	{ set_max_cstate, "IBM ThinkPad R40e", {
 	  DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),