[ltp] corrected dsdt for the 3.05 bios

R. Adelsberger linux-thinkpad@linux-thinkpad.org
Wed, 30 Jun 2004 16:28:23 +0200


This is a multi-part message in MIME format.
--------------060309070904050804080905
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

i work with a t41p
i had some errors with the original dsdt during bootup, so i corrected 
it. nevertheless, two warnings remain, e.g., that "not all paths return 
a value {SOMEVALUE}".  as i compared it to a t40p dsdt i saw that there 
the mentioned "paths" return the value (0x00). is it save to do the same?

thank you.

rolf.

--------------060309070904050804080905
Content-Type: text/plain;
 name="Errors"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Errors"


Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20040527 [Jun 29 2004]
Copyright (C) 2000 - 2004 Intel Corporation
Supports ACPI Specification Revision 2.0c

dsdt-orig.aml  3071:                     Method(MHQC, 1) {
Warning  2019 -                                    ^ Not all control paths return a value (MHQC)

dsdt-orig.aml  3094:                     Method(MHGC) {
Warning  2019 -                                    ^ Not all control paths return a value (MHGC)

ASL Input:  dsdt-orig.aml - 7476 lines, 274297 bytes, 5239 keywords
Compilation complete. 0 Errors, 2 Warnings, 0 Remarks, 2391 Optimizations

--------------060309070904050804080905
Content-Type: text/plain;
 name="dsdt-extract.aml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dsdt-extract.aml"

			Method(MHQC, 1) {
                        If(\WNTF) {
                            If(LEqual(Arg0, 0x0)) {
                                Return(\CWAC)
                            }
                            Else {
                                If(LEqual(Arg0, 0x1)) {
                                    Return(\CWAP)
                                }
                                Else {
                                    If(LEqual(Arg0, 0x2)) {
                                        Return(\CWAT)
                                    }
                                    Else {
                                        Noop
                                    }
                                }
                            }
                        }
                        Else {
                            Noop
                        }
                    }
                    Method(MHGC) {
                        If(\WNTF) {
                            Acquire(XDHK, 0xffff)
                            If(\OSC4) {
                                If(\_SB_.PCI0.LPC_.EC__.AC__._PSR()) {
                                    Store(0x3, Local0)
                                }
                                Else {
                                    If(\C4NA) {
                                        Store(0x3, Local0)
                                    }
                                    Else {
                                        Store(0x4, Local0)
                                    }
                                }
                            }
                            Else {
                                If(\_SB_.PCI0.LPC_.C4C3) {
                                    Store(0x4, Local0)
                                }
                                Else {
                                    Store(0x3, Local0)
                                }
                            }
                            Release(XDHK)
                            Return(Local0)
                        }
                        Else {
                            Noop
                        }
                    }
--------------060309070904050804080905--