public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Holger W." <info-IGm5bqYn3xwb1SvskN2V4Q@public.gmane.org>
To: "'Grover,
	Andrew'" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: problems with PRT and PCI routing table
Date: Fri, 14 Mar 2003 18:22:04 +0100	[thread overview]
Message-ID: <000201c2ea4e$3c7367a0$0200a8c0@brutzler> (raw)
In-Reply-To: <F760B14C9561B941B89469F59BA3A84725A1F6-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1662 bytes --]

> that. I've heard a report that Windows does not use _CRS like we do, so
> this ASL code path may be untested, and therefore that could be the
> problem. Have you disassembled your ASL? What does this link device's
> _CRS method look like?

Hi Andrew,

you'll find the whole disassembly attached ... I had to do it with the Windows version of "iasl"
because the Linux version causes a "segmentation fault" on my system :(
I'm a bloody ACPI beginner so I don't really understand the _CRS method (which you'll find at
the end of this posting) - perhaps the ASL code is more useful for you :-)

Regards,

HOLGER W.

--

	Method (_CRS, 0, NotSerialized)
	{
	    Name (B37A, ResourceTemplate ()
	    {
		IRQ (Level, ActiveLow, Shared) {}
	    })
	    CreateByteField (B37A, 0x01, IRB1)
	    CreateByteField (B37A, 0x02, IRB2)
	    Name (B47A, ResourceTemplate ()
	    {
		Interrupt (ResourceConsumer, Level, ActiveLow, Shared)
		{
		    0x00000000,
		}
	    })
	    If (LNot (LEqual (DEID, 0x3177)))
	    {
		If (LNot (LEqual (DEID, 0x3147)))
		{
		    Return (B37A)
		}
		Else
		{
		    Return (B47A)
		}
	    }
	    Else
	    {
		Return (B47A)
	    }

	    Store (0x00, Local3)
	    Store (0x00, Local4)
	    And (PIRA, 0xF0, Local1)
	    ShiftRight (Local1, 0x04, Local1)
	    If (LNot (LEqual (Local1, 0x00)))
	    {
		If (LGreater (Local1, 0x07))
		{
		    Subtract (Local1, 0x08, Local2)
		    ShiftLeft (One, Local2, Local4)
		}
		Else
		{
		    If (LGreater (Local1, 0x00))
		    {
			ShiftLeft (One, Local1, Local3)
		    }
		}

		Store (Local3, IRB1)
		Store (Local4, IRB2)
	    }
	}

[-- Attachment #2: dsdt_AWRDACPI.zip --]
[-- Type: application/octet-stream, Size: 9765 bytes --]

  parent reply	other threads:[~2003-03-14 17:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-14  0:51 problems with PRT and PCI routing table Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A1F6-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-03-14 17:22   ` Holger W. [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-14 18:42 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A1FA-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-03-14 23:58   ` Holger W.
2003-03-08  0:51 Holger W.
     [not found] ` <000501c2e50c$d43b2790$0200a8c0-IGm5bqYn3xw@public.gmane.org>
2003-03-08 22:47   ` Holger W.

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='000201c2ea4e$3c7367a0$0200a8c0@brutzler' \
    --to=info-igm5bqyn3xwb1svskn2v4q@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@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