2 * arch/sh/drivers/pci/ops-titan.c
4 * Ported to new API by Paul Mundt <lethal@linux-sh.org>
6 * Modified from ops-snapgear.c written by David McCullough
7 * Highly leveraged from pci-bigsur.c, written by Dustin McIntire.
9 * May be copied or modified under the terms of the GNU General Public
10 * License. See linux/COPYING for more information.
12 * PCI initialization for the Titan boards
14 #include <linux/kernel.h>
15 #include <linux/types.h>
16 #include <linux/init.h>
17 #include <linux/pci.h>
19 #include <mach/titan.h>
22 static char titan_irq_tab
[] __initdata
= {
30 int __init
pcibios_map_platform_irq(struct pci_dev
*pdev
, u8 slot
, u8 pin
)
32 int irq
= titan_irq_tab
[slot
];
34 printk("PCI: Mapping TITAN IRQ for slot %d, pin %c to irq %d\n",
35 slot
, pin
- 1 + 'A', irq
);