RE: [acpi-jp 2311] ACPI and PCI vs interrupt routing on Sony VAIO's

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 04 Jun 2003 14:35:45 -0400 (EDT)
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
_at__at_ -798,7 +798,7 _at__at_
        }
 
        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_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
Received on Wed Jun 04 2003 - 09:35:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:10 UTC