summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-mtx-1-2.4.24/10-mtx-pci-slots.diff
blob: 8cdde204403e4ac489a01327283ec1396600fc8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- linux-mips-2.4.24-pre2/arch/mips/au1000/common/pci_fixup.c	2004-11-17 18:04:41.000000000 +0100
+++ linux/arch/mips/au1000/common/pci_fixup.c	2004-11-18 11:22:03.176289496 +0100
@@ -118,6 +118,20 @@
 		slot = PCI_SLOT(dev->devfn);
 #if defined( CONFIG_SOC_AU1500 )
 		switch (slot) {
+#if defined( CONFIG_MIPS_MTX1 )
+                       case 0:
+                               dev->irq = AU1000_PCI_INTA;
+                               break;
+                       case 1:
+                               dev->irq = AU1000_PCI_INTB;
+                               break;
+                       case 2:
+                               dev->irq = AU1000_PCI_INTC;
+                               break;
+                       case 3:
+                               dev->irq = AU1000_PCI_INTD;
+                               break;
+#endif
 			case 12:
 			case 13:
 			default: