Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 22:28:32 +0200
From:      Mark Santcroos <marks@ripe.net>
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        acpi@jp.freebsd.org
Subject:   Re: FBSD 5.1b2 Inst. Results on Dell i8500
Message-ID:  <20030527202832.GA717@laptop.6bone.nl>
In-Reply-To: <20030522210503.GA1971@laptop.6bone.nl>
References:  <20030522100612.X95471@root.org> <20030522193004.GA1073@laptop.6bone.nl> <20030522195103.GB60164@pcwin002.win.tue.nl> <20030522200011.GA639@laptop.6bone.nl> <20030522201452.GC60164@pcwin002.win.tue.nl> <20030522202815.GB639@laptop.6bone.nl> <20030522203024.GD60164@pcwin002.win.tue.nl> <20030522203511.GC639@laptop.6bone.nl> <20030522204708.GE60164@pcwin002.win.tue.nl> <20030522210503.GA1971@laptop.6bone.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 22, 2003 at 11:05:03PM +0200, Mark Santcroos wrote:
> The same here, that's what I mentioned earlier, that I need to investigate
> this. Hope to have that fixed before 'de haan kraait' tomorrow morning ;-)
> Can you send me your whole asl, I'm curious how close it is to mine.

Hrm, a bit later than anticipated, got ill after skipping too many nights,
had to take a break :-)

However, with the following patch, fdc, sio, and ppc attach under acpi
instead of isa again!

With a stock kernel and patched dsdt I have a fully working system again.
All Dell laptop users with problems might want to give this a look as at
least Stijn's Inspirion 8500 has exactly the same dsdt as mine (Latitude
C640).

Mark

ps. Bob, sorry for arguing that it might be acpica, I come from a world
where I assume hardware is not the first thing to look at when things
break ...


--- c640.asl	Wed May 14 02:07:27 2003
+++ c640_custom.asl	Tue May 27 22:18:14 2003
@@ -120,9 +120,9 @@
 
     Method (SXX5, 2, NotSerialized)
     {
-        If (LLess (Arg1, SizeOf (Arg0)))
+        If (LLess (Arg1, SizeOf (DerefOf(Arg0))))
         {
-            CreateByteField (Arg0, Arg1, SX20)
+            CreateByteField (DerefOf(Arg0), Arg1, SX20)
             SXX6 (0x7C, SX20)
         }
     }
@@ -133,16 +133,16 @@
         Store (0x00, Local0)
         While (LLess (Local0, SXX2))
         {
-            SXX5 (SXX0, Local0)
+            SXX5 (RefOf(SXX0), Local0)
             Increment (Local0)
         }
     }
 
     Method (SXX8, 2, NotSerialized)
     {
-        If (LLess (Arg1, SizeOf (Arg0)))
+        If (LLess (Arg1, SizeOf (DerefOf (Arg0))))
         {
-            CreateByteField (Arg0, Arg1, SX20)
+            CreateByteField (DerefOf(Arg0), Arg1, SX20)
             Store (SXX6 (0x7D, 0x00), SX20)
         }
     }
@@ -153,7 +153,7 @@
         While (LLess (Local0, SXX3))
         {
             Add (SXX2, Local0, Local1)
-            SXX8 (SXX0, Local1)
+            SXX8 (RefOf (SXX0), Local1)
             Increment (Local0)
         }
     }
@@ -217,9 +217,9 @@
 
     Method (SX43, 2, NotSerialized)
     {
-        If (LLess (Arg1, SizeOf (Arg0)))
+        If (LLess (Arg1, SizeOf (DerefOf(Arg0))))
         {
-            CreateByteField (Arg0, Arg1, SX20)
+            CreateByteField (DerefOf(Arg0), Arg1, SX20)
             Store (SX40 (), SX20)
         }
     }
@@ -238,7 +238,7 @@
     {
         Store (SX40 (), Local0)
         Name (SX23, Buffer (Local0) {})
-        SX44 (SX23, Local0)
+        SX44 (Refof(SX23), Local0)
         Return (SX23)
     }
 
@@ -277,7 +277,7 @@
         SX30 (Arg0)
         SX11 ()
         Name (PGET, Buffer (SXX3) {})
-        SX44 (PGET, SXX3)
+        SX44 (RefOf(PGET), SXX3)
         SX12 ()
         Return (PGET)
     }

-- 
Mark Santcroos                    RIPE Network Coordination Centre
http://www.ripe.net/home/mark/    New Projects Group/TTM



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030527202832.GA717>