Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105368
b: refs/heads/master
c: e41fb7c
h: refs/heads/master
v: v3
  • Loading branch information
Carlos Corbacho authored and Linus Torvalds committed Jul 24, 2008
1 parent cbbdb0d commit 90774d9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bdfe6b7c681669148dae4db27eb24ee5408ba371
refs/heads/master: e41fb7c58e3ca18ec5c9c9bb7bb68e8e653c9e8e
20 changes: 20 additions & 0 deletions trunk/drivers/acpi/sleep/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,24 @@ static struct platform_suspend_ops acpi_suspend_ops_old = {
.end = acpi_pm_end,
.recover = acpi_pm_finish,
};

static int __init init_old_suspend_ordering(const struct dmi_system_id *d)
{
old_suspend_ordering = true;
return 0;
}

static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
{
.callback = init_old_suspend_ordering,
.ident = "Abit KN9 (nForce4 variant)",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "http://www.abit.com.tw/"),
DMI_MATCH(DMI_BOARD_NAME, "KN9 Series(NF-CK804)"),
},
},
{},
};
#endif /* CONFIG_SUSPEND */

#ifdef CONFIG_HIBERNATION
Expand Down Expand Up @@ -531,6 +549,8 @@ int __init acpi_sleep_init(void)
u8 type_a, type_b;
#ifdef CONFIG_SUSPEND
int i = 0;

dmi_check_system(acpisleep_dmi_table);
#endif

if (acpi_disabled)
Expand Down

0 comments on commit 90774d9

Please sign in to comment.