Re: [2.6.18-rc2-mm1] pata_via fails
From: Sergio Monteiro Basto
Date: Tue Aug 01 2006 - 19:16:30 EST
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.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature