diff options
Diffstat (limited to 'drivers/acpi/thermal.c')
-rw-r--r-- | drivers/acpi/thermal.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 4c420feba207..39479b0befa4 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c | |||
@@ -89,7 +89,7 @@ MODULE_PARM_DESC(tzp, "Thermal zone polling frequency, in 1/10 seconds."); | |||
89 | 89 | ||
90 | static int nocrt; | 90 | static int nocrt; |
91 | module_param(nocrt, int, 0); | 91 | module_param(nocrt, int, 0); |
92 | MODULE_PARM_DESC(nocrt, "Set to disable action on ACPI thermal zone critical and hot trips."); | 92 | MODULE_PARM_DESC(nocrt, "Set to take no action upon ACPI thermal zone critical trips points."); |
93 | 93 | ||
94 | static int off; | 94 | static int off; |
95 | module_param(off, int, 0); | 95 | module_param(off, int, 0); |
@@ -1357,6 +1357,13 @@ static int thermal_act(struct dmi_system_id *d) { | |||
1357 | } | 1357 | } |
1358 | return 0; | 1358 | return 0; |
1359 | } | 1359 | } |
1360 | static int thermal_nocrt(struct dmi_system_id *d) { | ||
1361 | |||
1362 | printk(KERN_NOTICE "ACPI: %s detected: " | ||
1363 | "disabling all critical thermal trip point actions.\n", d->ident); | ||
1364 | nocrt = 1; | ||
1365 | return 0; | ||
1366 | } | ||
1360 | static int thermal_tzp(struct dmi_system_id *d) { | 1367 | static int thermal_tzp(struct dmi_system_id *d) { |
1361 | 1368 | ||
1362 | if (tzp == 0) { | 1369 | if (tzp == 0) { |
@@ -1405,6 +1412,14 @@ static struct dmi_system_id thermal_dmi_table[] __initdata = { | |||
1405 | DMI_MATCH(DMI_BOARD_NAME, "i915GMm-HFS"), | 1412 | DMI_MATCH(DMI_BOARD_NAME, "i915GMm-HFS"), |
1406 | }, | 1413 | }, |
1407 | }, | 1414 | }, |
1415 | { | ||
1416 | .callback = thermal_nocrt, | ||
1417 | .ident = "Gigabyte GA-7ZX", | ||
1418 | .matches = { | ||
1419 | DMI_MATCH(DMI_BOARD_VENDOR, "Gigabyte Technology Co., Ltd."), | ||
1420 | DMI_MATCH(DMI_BOARD_NAME, "7ZX"), | ||
1421 | }, | ||
1422 | }, | ||
1408 | {} | 1423 | {} |
1409 | }; | 1424 | }; |
1410 | #endif /* CONFIG_DMI */ | 1425 | #endif /* CONFIG_DMI */ |