Re: [ACPI-sppt] ASUS M6800N DSDT Table

Ducrot Bruno <[email protected]> Sat, 31 Jan 2004 07:54:43 +0100
Newsgroups gmane.linux.acpi.support
Message-ID <[email protected]>
On Tue, Jan 27, 2004 at 09:54:36PM +0100, Andre Messerschmidt wrote:
> Hi.
> 
> I am trying to get a working DSDT table for the M6800N. 
> I tried to compile the extracted one, but I get 200+ errors complaining about 
> undefined objects (which seem to be defined)
> After digging through the file I found that the following lines are somehow 
> related to the problem:
> 
> OperationRegion (IO, SystemIO, DPRT, 0x05)
> Field (IO, ByteAcc, Lock, Preserve)
> {
> 	DAT0,   8,
>  	Offset (0x04),
> 	CMD0,   8
> }
> Field (IO, ByteAcc, Lock, Preserve)
> {
> 	Offset (0x04),
> 	OUTS,   1,
> 	INPS,   1
> }
> 
> If I change the IO to SMBX (which I found in a table for an S2400N), the 
> number of errors reduce dramatically. 
> 

Sound like a bug in iasl imho.

IO is somehow reserved by ASL, but the fact that it is placed here should
cause iasl to consider it as a regular 'name' no matter what.

By replacing it via IO_ or IO__ (from AML point-of-view, that the same
thing anyway) this should compile because IO is no more a lexical token, but
you will get the exact same namespace.

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn