public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Bruno Ducrot <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
To: Paulo da Silva <pvmagacho78-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: OperationRegion outside scope
Date: Fri, 12 Nov 2004 16:32:16 +0100	[thread overview]
Message-ID: <20041112153216.GF31422@poupinou.org> (raw)
In-Reply-To: <20041112104755.50219.qmail-azSxi+4N0UiA/QwVtaZbd3CJp6faPEW9@public.gmane.org>

On Fri, Nov 12, 2004 at 02:47:54AM -0800, Paulo da Silva wrote:
> Hello,
> 
> my DSDT has some operation regions defined outside a
> scope and when I compile with iasl I see that the size
> of the operation region is not considered and is set
> to zero. Because of that I get lots of errors during
> boot. One of the messages is shown below.
> kernel:  exfldio-0143 [54] ex_setup_region       :
> Field [CMD_] access width (1 bytes) too large for
> region [MNVS] (length 0)
> kernel:  exfldio-0155 [54] ex_setup_region       :
> Field [CMD_] Base+Offset+Width FC0+0+1 is beyond end
> of region [MNVS] (length 0)

I guess you forced the compilation of the DSDT, right?

> 
> The original dsdt is at
> http://cern.ch/paulo/dsdt.dsl.orig
> 

You may try this patch which should allow you to recompile without
errors:

--- dsdt.dsl.old	2004-10-12 15:58:19.000000000 +0200
+++ dsdt.dsl	2004-11-12 16:28:15.000000000 +0100
@@ -190,7 +190,7 @@
     }
 
     OperationRegion (PORT, SystemIO, 0x80, 0x01)
-    Field (PORT, WordAcc, NoLock, Preserve)
+    Field (PORT, ByteAcc, NoLock, Preserve)
     {
         P80H,   8
     }
@@ -991,7 +991,7 @@
                 {
                     Name (_ADR, 0x00)
                     OperationRegion (EVGR, PCI_Config, 0x00, 0x02)
-                    Field (EVGR, DWordAcc, NoLock, Preserve)
+                    Field (EVGR, WordAcc, NoLock, Preserve)
                     {
                         EVID,   16
                     }
@@ -3272,7 +3272,7 @@
                             Store (Arg1, SMAD)
                             Store (Arg0, SMPR)
                             Store (0xC8, Local2)
-                            While (Local1)
+                            While (Local2)
                             {
                                 Sleep (0x05)
                                 Store (SMPR, Local1)
@@ -4941,6 +4941,7 @@
         {
             If (LEqual (Arg0, 0x03)) {}
         }
+        Return(Package(){0,0})
     }
 }
 


-- 
Bruno Ducrot

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

  parent reply	other threads:[~2004-11-12 15:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-12 10:47 OperationRegion outside scope Paulo da Silva
     [not found] ` <20041112104755.50219.qmail-azSxi+4N0UiA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-11-12 15:32   ` Bruno Ducrot [this message]
     [not found]     ` <20041112153216.GF31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-11-12 17:01       ` Paulo da Silva
     [not found]         ` <20041112170138.35367.qmail-PzIyE2qCj7uA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-11-12 17:22           ` Bruno Ducrot
     [not found]             ` <20041112172216.GG31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-11-12 17:37               ` Bruno Ducrot
     [not found]                 ` <20041112173750.GH31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-11-15 13:08                   ` Paulo da Silva
     [not found]                     ` <20041115130829.23239.qmail-azSxi+4N0UiA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-11-16 11:47                       ` Paulo da Silva
  -- strict thread matches above, loose matches on Subject: below --
2004-11-16 15:40 Moore, Robert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041112153216.GF31422@poupinou.org \
    --to=ducrot-kk6yzipjem5g9huczpvpmw@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=pvmagacho78-/E1597aS9LQAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox