]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/linux-mtx-1-2.4.24/10-mtx-pci-slots.diff
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / linux-mtx-1-2.4.24 / 10-mtx-pci-slots.diff
1 --- linux-mips-2.4.24-pre2/arch/mips/au1000/common/pci_fixup.c  2004-11-17 18:04:41.000000000 +0100
2 +++ linux/arch/mips/au1000/common/pci_fixup.c   2004-11-18 11:22:03.176289496 +0100
3 @@ -118,6 +118,20 @@
4                 slot = PCI_SLOT(dev->devfn);
5  #if defined( CONFIG_SOC_AU1500 )
6                 switch (slot) {
7 +#if defined( CONFIG_MIPS_MTX1 )
8 +                       case 0:
9 +                               dev->irq = AU1000_PCI_INTA;
10 +                               break;
11 +                       case 1:
12 +                               dev->irq = AU1000_PCI_INTB;
13 +                               break;
14 +                       case 2:
15 +                               dev->irq = AU1000_PCI_INTC;
16 +                               break;
17 +                       case 3:
18 +                               dev->irq = AU1000_PCI_INTD;
19 +                               break;
20 +#endif
21                         case 12:
22                         case 13:
23                         default: