[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1154474307.3819.5.camel@localhost.portugal>
Date: Wed, 02 Aug 2006 00:18:27 +0100
From: Sergio Monteiro Basto <sergio@...giomb.no-ip.org>
To: "J.A." Magallón <jamagallon@....com>
Cc: "Linux-Kernel," <linux-kernel@...r.kernel.org>,
linux-ide@...r.kernel.org
Subject: Re: [2.6.18-rc2-mm1] pata_via fails
On Wed, 2006-08-02 at 01:04 +0200, J.A. Magallón wrote:
> Jul 10 15:09:46 nada kernel: PCI: VIA IRQ fixup for 0000:00:11.1, from
> 255 to 0
> Any ideas ?
yes, try this patch
http://lkml.org/lkml/2006/7/28/99
As you are using -mm tree use just hunk #1 above
--- linux-2.6.17.i686/drivers/pci/quirks.c.orig 2006-07-28 12:59:04.000000000 +0100
+++ linux-2.6.17.i686/drivers/pci/quirks.c 2006-07-28 13:26:49.000000000 +0100
@@ -648,11 +648,17 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_V
*
* Some of the on-chip devices are actually '586 devices' so they are
* listed here.
+ *
+ * if flags say that we have working apic(s), we don't need to quirk these
+ * devices
*/
static void quirk_via_irq(struct pci_dev *dev)
{
u8 irq, new_irq;
+ if ((smp_found_config && !skip_ioapic_setup && nr_ioapics) || cpu_has_apic)
+ return;
+
new_irq = dev->irq & 0xf;
pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq);
if (new_irq != irq) {
--
Sérgio M. B.
Download attachment "smime.p7s" of type "application/x-pkcs7-signature" (2166 bytes)
Powered by blists - more mailing lists