[acpi-jp 2311] ACPI and PCI vs interrupt routing on Sony VAIO's
John Baldwin
jhb at FreeBSD.org
Wed Jun 4 11:35:46 PDT 2003
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 at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
More information about the freebsd-current
mailing list