2 * linux/arch/arm/mach-shark/pci.c
4 * PCI bios-type initialisation for PCI machines
6 * Bits taken from various places.
8 #include <linux/kernel.h>
10 #include <linux/init.h>
13 #include <asm/mach/pci.h>
15 static int __init shark_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
17 if (dev->bus->number == 0)
18 if (dev->devfn == 0) return 255;
23 struct hw_pci shark_pci __initdata = {
24 .init = via82c505_init,
25 .swizzle = no_swizzle,
26 .map_irq = shark_map_irq,