History

ACPI: Delete Intel Customer Reference Board (CRB) from OSI(Linux) DMI list

Linux does not want BIOS writers to invoke _OSI(Linux) - for in the field it causes more Windows incompatibility problems than it solves. So when it is seen in the BIOS for an Intel Customer Reference Board, Linux should ignore its effect by default, and should complain loudly. Otherwise, the reference BIOS will go unfixed, and the bad BIOS will spread to the field. Users of this board can get the old behavior with "acpi_osi=Linux" As this was the only entry, delete acpi_osl_dmi_table[].

Len Brown committed 18 years ago

Commit 7ce95ce1 parent f40cd6f1 file · +0 −29Browse files

Unified · Split

drivers/acpi/osl.c+0−29
@@ -79,10 +79,6 @@ static char osi_additional_string[OSI_STRING_LENGTH_MAX]; · 78 unmodified lines
7979
8080 static int osi_linux; /* disable _OSI(Linux) by default */
8181
82−#ifdef CONFIG_DMI
83−static struct __initdata dmi_system_id acpi_osl_dmi_table[];
84−#endif
85−
8682 static void __init acpi_request_region (struct acpi_generic_address *addr,
8783 unsigned int length, char *desc)
8884 {
@@ -133,7 +129,6 @@ device_initcall(acpi_reserve_resources); · 44 unmodified lines
133129
134130 acpi_status __init acpi_os_initialize(void)
135131 {
136− dmi_check_system(acpi_osl_dmi_table);
137132 return AE_OK;
138133 }
139134
@@ -1232,28 +1227,4 @@ acpi_os_validate_address ( · 1092 unmodified lines
12321227 return AE_OK;
12331228 }
12341229
1235−#ifdef CONFIG_DMI
1236−static int dmi_osi_linux(const struct dmi_system_id *d)
1237−{
1238− printk(KERN_NOTICE "%s detected: enabling _OSI(Linux)\n", d->ident);
1239− enable_osi_linux(1);
1240− return 0;
1241−}
1242−
1243−static struct dmi_system_id acpi_osl_dmi_table[] __initdata = {
1244− /*
1245− * Boxes that need _OSI(Linux)
1246− */
1247− {
1248− .callback = dmi_osi_linux,
1249− .ident = "Intel Napa CRB",
1250− .matches = {
1251− DMI_MATCH(DMI_BOARD_VENDOR, "Intel Corporation"),
1252− DMI_MATCH(DMI_BOARD_NAME, "MPAD-MSAE Customer Reference Boards"),
1253− },
1254− },
1255− {}
1256−};
1257−#endif /* CONFIG_DMI */
1258−
12591230 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t