MIPS: PowerTV: Base files for Cisco PowerTV platform
[linux-2.6/libata-dev.git] / arch / mips / powertv / pci / fixup-powertv.c
blob726bc2e824b374ed6766a23e1201af0d89bb8bb9
1 #include <linux/init.h>
2 #include <linux/pci.h>
3 #include <asm/mach-powertv/interrupts.h>
4 #include "powertv-pci.h"
6 int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
8 return asic_pcie_map_irq(dev, slot, pin);
11 /* Do platform specific device initialization at pci_enable_device() time */
12 int pcibios_plat_dev_init(struct pci_dev *dev)
14 return 0;
18 * asic_pcie_map_irq
20 * Parameters:
21 * *dev - pointer to a pci_dev structure (not used)
22 * slot - slot number (not used)
23 * pin - pin number (not used)
25 * Return Value:
26 * Returns: IRQ number (always the PCI Express IRQ number)
28 * Description:
29 * asic_pcie_map_irq will return the IRQ number of the PCI Express interrupt.
32 int asic_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
34 return irq_pciexp;
36 EXPORT_SYMBOL(asic_pcie_map_irq);