https://bugzilla.kernel.org/show_bug.cgi?id=15801





--- Comment #13 from Robert Moore <[email protected]>  2010-04-23 14:37:49 
---
It would be more interesting to modify the first SSDT (which is in the XSDT) to
unconditionally load the additional SSDTs.  

Original code:

            If (And (CFGD, One))
            {
                If (LAnd (LAnd (And (CFGD, 0x01000000), LEqual (And (PDC0, 
                    0x09), 0x09)), LNot (And (SDTL, One))))
                {
                    Or (SDTL, One, SDTL)
                    OperationRegion (IST0, SystemMemory, DerefOf (Index (SSDT,
One)), DerefOf (Index (SSDT, 0x02
                        )))
                    Load (IST0, HI0)
                }
            }

            If (And (CFGD, 0xF0))
            {
                If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC0, 0x18
                    )), LNot (And (SDTL, 0x02))))
                {
                    Or (SDTL, 0x02, SDTL)
                    OperationRegion (CST0, SystemMemory, DerefOf (Index (SSDT,
0x07)), DerefOf (Index (SSDT, 0x08
                        )))
                    Load (CST0, HC0)
                }
            }


New code:

            Or (SDTL, One, SDTL)
            OperationRegion (IST0, SystemMemory, DerefOf (Index (SSDT, One)),
DerefOf (Index (SSDT, 0x02
                )))
            Load (IST0, HI0)

            Or (SDTL, 0x02, SDTL)
            OperationRegion (CST0, SystemMemory, DerefOf (Index (SSDT, 0x07)),
DerefOf (Index (SSDT, 0x08
                )))
            Load (CST0, HC0)

Just strip the surrounding If statements

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to