Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jun 2003 09:06:20 +1000
From:      Iain Templeton <iain.templeton@cisra.canon.com.au>
To:        acpi-jp@jp.FreeBSD.org
Cc:        current@freebsd.org
Subject:   Re: [acpi-jp 2325] Re: ACPI and PCI vs interrupt routing on Sony VAIO's
Message-ID:  <20030605230627.9F41C98E7E@blow.research.canon.com.au>
In-Reply-To: <XFMail.20030605113257.jhb@FreeBSD.org>

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

John Baldwin wrote:
>
>
>Please try:
>
>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
>


Works for me. I now have sound without any pciconf commands. Most happy.
(...and I wouldn't have thought to do that there, guess that's why I'm 
not the one with the commit access ).

It does try and route the same LNKx interrupts multiple times, but I guess
that won't matter unless they decide to change.

Iain



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