aboutsummaryrefslogtreecommitdiffstats
path: root/pci
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-03-31 16:24:15 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-31 16:24:15 -0800
commit4e94b51afd61703d88e6d84451fd2bbd10efbeaa (patch)
tree8905e95ee236a20d9aab1272db4ef1b8e1aa20d0 /pci
parentf58ad68f00c1744fddbf67fd7467912ae6b42eae (diff)
downloadpatches-4e94b51afd61703d88e6d84451fd2bbd10efbeaa.tar.gz
more patches
Diffstat (limited to 'pci')
-rw-r--r--pci/re-arch-i386-pci-irq.c-new-via-chipsets.patch71
1 files changed, 71 insertions, 0 deletions
diff --git a/pci/re-arch-i386-pci-irq.c-new-via-chipsets.patch b/pci/re-arch-i386-pci-irq.c-new-via-chipsets.patch
new file mode 100644
index 0000000000000..e5ff215f34ddd
--- /dev/null
+++ b/pci/re-arch-i386-pci-irq.c-new-via-chipsets.patch
@@ -0,0 +1,71 @@
+From Grzegorz@Janoszka.pl Tue Mar 21 02:57:39 2006
+Date: Tue, 21 Mar 2006 11:57:19 +0100 (CET)
+From: Grzegorz Janoszka <Grzegorz@Janoszka.pl>
+To: gregkh@suse.de
+Subject: Re: arch/i386/pci/irq.c - new VIA chipsets (fwd)
+Message-ID: <Pine.GSO.4.63.0603211147580.11606@galaxy.agh.edu.pl>
+
+From: Grzegorz Janoszka <Grzegorz@Janoszka.pl>
+
+
+I use 2.6.15.6 Linux kernel and found some problems. I have about 100
+Linux boxes (all with the same (binary the same) kernel). Last time I have
+upgraded all those boxes from 2.4.32 to 2.6.15.6 (first 2.6.15.1, next .2,
+.4 and .6) and I have found some problems on VIA based PC's. Probably the
+reason of this is that some VIA chipsets are unrecognized by IRQ router.
+
+In line 586 there is: /* FIXME: add new ones for 8233/5 */
+
+There were only a few of chipsets ID's there, some of my VIA chipsets were
+not present and kernel used default IRQ router.
+
+I have added three entries, so that the code looks like:
+
+ case PCI_DEVICE_ID_VIA_82C596:
+ case PCI_DEVICE_ID_VIA_82C686:
+ case PCI_DEVICE_ID_VIA_8231:
+ case PCI_DEVICE_ID_VIA_8233A:
+ case PCI_DEVICE_ID_VIA_8235:
+ case PCI_DEVICE_ID_VIA_8237:
+ case PCI_DEVICE_ID_VIA_8237_SATA:
+ /* FIXME: add new ones for 8233/5 */
+ r->name = "VIA";
+ r->get = pirq_via_get;
+ r->set = pirq_via_set;
+ return 1;
+ }
+
+The kernel goes fine but I haven't testes it for weeks, I'm just a moment
+after reboot :)
+One thing is different (better?):
+Using previus kernel I had:
+PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 0
+now I have:
+PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 11
+
+Maybe it is good idea to add there some more VIA chipsets?
+The ones I have added seem to be OK.
+
+
+From: Grzegorz Janoszka <Grzegorz@Janoszka.pl>
+Acked-by: Martin Mares <mj@ucw.cz>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+
+---
+ arch/i386/pci/irq.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+--- gregkh-2.6.orig/arch/i386/pci/irq.c
++++ gregkh-2.6/arch/i386/pci/irq.c
+@@ -588,7 +588,10 @@ static __init int via_router_probe(struc
+ case PCI_DEVICE_ID_VIA_82C596:
+ case PCI_DEVICE_ID_VIA_82C686:
+ case PCI_DEVICE_ID_VIA_8231:
++ case PCI_DEVICE_ID_VIA_8233A:
+ case PCI_DEVICE_ID_VIA_8235:
++ case PCI_DEVICE_ID_VIA_8237:
++ case PCI_DEVICE_ID_VIA_8237_SATA:
+ /* FIXME: add new ones for 8233/5 */
+ r->name = "VIA";
+ r->get = pirq_via_get;