2 * sleep.c - x86-specific ACPI sleep support.
4 * Copyright (C) 2001-2003 Patrick Mochel
5 * Copyright (C) 2001-2003 Pavel Machek <pavel@suse.cz>
8 #include <linux/acpi.h>
9 #include <linux/bootmem.h>
10 #include <linux/dmi.h>
11 #include <linux/cpumask.h>
15 /* Ouch, we want to delete this. We already have better version in userspace, in
16 s2ram from suspend.sf.net project */
17 static __init
int reset_videomode_after_s3(const struct dmi_system_id
*d
)
19 acpi_realmode_flags
|= 2;
23 static __initdata
struct dmi_system_id acpisleep_dmi_table
[] = {
24 { /* Reset video mode after returning from ACPI S3 sleep */
25 .callback
= reset_videomode_after_s3
,
26 .ident
= "Toshiba Satellite 4030cdt",
28 DMI_MATCH(DMI_PRODUCT_NAME
, "S4030CDT/4.3"),
34 static int __init
acpisleep_dmi_init(void)
36 dmi_check_system(acpisleep_dmi_table
);
40 core_initcall(acpisleep_dmi_init
);