Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jun 2003 14:35:45 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        acpi-jp@jp.FreeBSD.org
Cc:        "Remington L." <cableboy@charter.net>
Subject:   RE: [acpi-jp 2311] ACPI and PCI vs interrupt routing on Sony VAIO's
Message-ID:  <XFMail.20030604143545.jhb@FreeBSD.org>
In-Reply-To: <20030604085348.A4BE398E7E@blow.research.canon.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

On 04-Jun-2003 Iain Templeton wrote:
> Hi,
> 
> I have a Sony VAIO (PCG-R505TFP) which has an interrupts related problem (this
> problem was previous posted elsewhere as "Weird as* sound problem"). This problem
> has been confirmed on at least one other Sony VAIO model (I forget which).
> 
> They're both Intel i830M chipset based.

Try this:

Index: pci.c
===================================================================
RCS file: /usr/cvs/src/sys/dev/pci/pci.c,v
retrieving revision 1.215
diff -u -r1.215 pci.c
--- pci.c       31 May 2003 20:34:36 -0000      1.215
+++ pci.c       2 Jun 2003 20:09:08 -0000
@@ -798,7 +798,7 @@
        }
 
        if (cfg->intpin > 0 && PCI_INTERRUPT_VALID(cfg->intline)) {
-#ifdef __ia64__
+#if defined(__ia64__) || (defined(__i386__) && !defined(SMP))
                /*
                 * Re-route interrupts on ia64 so that we can get the
                 * I/O SAPIC interrupt numbers (the BIOS leaves legacy

I'm currently working on making the PCI interrupt routing work for SMP
and once that is done I plan to commit a change to make this

#if defined(__ia64__) || defined(__i386__)

However, if people find that the above patch fixes a lot of UP
machines for now I might commit it.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



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