Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75676
b: refs/heads/master
c: 7ce95ce
h: refs/heads/master
v: v3
  • Loading branch information
Len Brown committed Jan 24, 2008
1 parent 232d7e9 commit d6d9193
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f40cd6fddcb1d51d8a2a67ddc81c14a3532f3cb7
refs/heads/master: 7ce95ce5c6dbbc3f70933f04537860ffd9dbe17e
29 changes: 0 additions & 29 deletions trunk/drivers/acpi/osl.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ static char osi_additional_string[OSI_STRING_LENGTH_MAX];

static int osi_linux; /* disable _OSI(Linux) by default */

#ifdef CONFIG_DMI
static struct __initdata dmi_system_id acpi_osl_dmi_table[];
#endif

static void __init acpi_request_region (struct acpi_generic_address *addr,
unsigned int length, char *desc)
{
Expand Down Expand Up @@ -133,7 +129,6 @@ device_initcall(acpi_reserve_resources);

acpi_status __init acpi_os_initialize(void)
{
dmi_check_system(acpi_osl_dmi_table);
return AE_OK;
}

Expand Down Expand Up @@ -1232,28 +1227,4 @@ acpi_os_validate_address (
return AE_OK;
}

#ifdef CONFIG_DMI
static int dmi_osi_linux(const struct dmi_system_id *d)
{
printk(KERN_NOTICE "%s detected: enabling _OSI(Linux)\n", d->ident);
enable_osi_linux(1);
return 0;
}

static struct dmi_system_id acpi_osl_dmi_table[] __initdata = {
/*
* Boxes that need _OSI(Linux)
*/
{
.callback = dmi_osi_linux,
.ident = "Intel Napa CRB",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Intel Corporation"),
DMI_MATCH(DMI_BOARD_NAME, "MPAD-MSAE Customer Reference Boards"),
},
},
{}
};
#endif /* CONFIG_DMI */

#endif

0 comments on commit d6d9193

Please sign in to comment.