Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.24.4 /drivers/acpi/blacklist.c

Filename:/drivers/acpi/blacklist.c
Lines Added:14
Lines Deleted:9
Also changed in: (Previous) 2.6.24.2  2.6.24-git22  2.6.24-git21  2.6.24-git20  2.6.24.1  2.6.24-git19 
(Following) 2.6.24.5  2.6.24.6  2.6.24.7  2.6.25-rc7  2.6.25-rc8  2.6.25-rc9 

Location
[  2.6.24.4
  [  drivers
    [  acpi
       o  blacklist.c

Patch

diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index 8809654..bd12c8e 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -208,24 +208,24 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
     * Disable OSI(Linux) warnings on all "Acer, inc."
     *
     * _OSI(Linux) disables the latest Windows BIOS code:
+    * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 3100"),
     * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5050"),
+    * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5100"),
     * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5580"),
     * DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 3010"),
     * _OSI(Linux) effect unknown:
     * DMI_MATCH(DMI_PRODUCT_NAME, "Ferrari 5000"),
     */
-   {
-   .callback = dmi_disable_osi_linux,
-   .ident = "Acer, inc.",
-   .matches = {
-           DMI_MATCH(DMI_SYS_VENDOR, "Acer, inc."),
-      },
-   },
+   /*
+    * note that dmi_check_system() uses strstr()
+    * to match sub-strings rather than !strcmp(),
+    * so "Acer" below matches "Acer, inc." above.
+    */
    /*
     * Disable OSI(Linux) warnings on all "Acer"
     *
     * _OSI(Linux) effect unknown:
-    * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5100"),
+    * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5315"),
     * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5610"),
     * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 7720Z"),
     * DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 5520"),
@@ -300,7 +300,7 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
            DMI_MATCH(DMI_BIOS_VENDOR, "COMPAL"),
       },
    },
-   { /* OSI(Linux) touches USB, breaks suspend to disk */
+   { /* OSI(Linux) touches USB, unknown side-effect */
    .callback = dmi_disable_osi_linux,
    .ident = "Dell Dimension 5150",
    .matches = {
@@ -474,6 +474,11 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
     *
     * _OSI(Linux) confirmed to be a NOP:
     * DMI_MATCH(DMI_PRODUCT_NAME, "P1-J150B"),
+    * with DMI_MATCH(DMI_BOARD_NAME, "ROCKY"),
+    *
+    * unknown:
+    * DMI_MATCH(DMI_PRODUCT_NAME, "S1-MDGDG"),
+    * with DMI_MATCH(DMI_BOARD_NAME, "ROCKY"),
     */
    {
    .callback = dmi_disable_osi_linux,


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.