RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / arch / mips / pci / pci-ev64120.c
bloba84f594b5a18362bb25f4358b21f482ed418144c
1 #include <linux/pci.h>
2 #include <asm/irq.h>
4 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
6 int irq;
8 if (!pin)
9 return 0;
11 irq = allocate_irqno();
12 if (irq < 0)
13 return 0;
15 return irq;
18 /* Do platform specific device initialization at pci_enable_device() time */
19 int pcibios_plat_dev_init(struct pci_dev *dev)
21 return 0;