Re: Linux 2.4.19-ac2

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Aug 04 2002 - 15:27:19 EST


On Sun, 2002-08-04 at 19:57, Devilkin wrote:
> On Sunday 04 August 2002 19:46, Alan Cox wrote:
> <snip>
>
> There seems to be some problem with VIA IDE IRQ's on 2.4.19-ac2.

Ok based on Petr's comments about VIA stuff being a bit funny. We can
refine this test later.

--- arch/i386/kernel/pci-i386.c~ 2002-08-04 20:06:54.000000000 +0100
+++ arch/i386/kernel/pci-i386.c 2002-08-04 20:06:54.000000000 +0100
@@ -277,6 +277,11 @@
         if((r9 & 0x0A) != 0x0A) /* Legacy only */
                 return 0;
                 
+ /* Leave alone VIA chips */
+
+ if (dev->vendor == PCI_VENDOR_ID_VIA)
+ return 0;
+
         /* Request programmability */
         
         pci_write_config_byte(dev, PCI_CLASS_PROG, r9|0x05);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:25 EST