http://bugzilla.kernel.org/show_bug.cgi?id=10454





------- Comment #3 from [EMAIL PROTECTED]  2008-04-19 06:20 -------
Unfortunately the above patch also removes some features from the bios (the
DSDT ahs quite some IF (OSI("Windows 2006")) THEN do something) so a more
appropriate solution might be to fix the signature on the fly? like  this:
(perhaps this should only be done based on some DMI whitelisting?)

--- a/drivers/acpi/tables/tbinstal.c
+++ b/drivers/acpi/tables/tbinstal.c
@@ -125,6 +125,12 @@ acpi_tb_add_table(struct acpi_table_desc *table_desc,

        /* The table must be either an SSDT or a PSDT or an OEMx */

+       if (table_desc->pointer->signature[0] == '\0') {
+               ACPI_DEBUG_PRINT((AE_DB_ERROR,
+                           "Table has empty signature, probably VIST table,
cor
+               strncpy(table_desc->pointer->signature, "OEM0", 4);
+       }
+
        if (!ACPI_COMPARE_NAME(table_desc->pointer->signature, ACPI_SIG_PSDT)&&
            !ACPI_COMPARE_NAME(table_desc->pointer->signature, ACPI_SIG_SSDT)&&
            strncmp(table_desc->pointer->signature, "OEM", 3)) {



-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to