15283ecb5SPaul Mundt /* 25283ecb5SPaul Mundt * arch/sh/drivers/pci/fixups-r7780rp.c 35283ecb5SPaul Mundt * 45283ecb5SPaul Mundt * Highlander R7780RP-1 PCI fixups 55283ecb5SPaul Mundt * 65283ecb5SPaul Mundt * Copyright (C) 2003 Lineo uSolutions, Inc. 7959f85f8SPaul Mundt * Copyright (C) 2004 - 2006 Paul Mundt 85283ecb5SPaul Mundt * 95283ecb5SPaul Mundt * This file is subject to the terms and conditions of the GNU General Public 105283ecb5SPaul Mundt * License. See the file "COPYING" in the main directory of this archive 115283ecb5SPaul Mundt * for more details. 125283ecb5SPaul Mundt */ 13959f85f8SPaul Mundt #include <linux/pci.h> 14a6d377b6SPaul Mundt #include <linux/io.h> 15959f85f8SPaul Mundt #include "pci-sh4.h" 165283ecb5SPaul Mundt 17a6d377b6SPaul Mundt static char irq_tab[] __initdata = { 18a6d377b6SPaul Mundt 65, 66, 67, 68, 19a6d377b6SPaul Mundt }; 20a6d377b6SPaul Mundt 21d5341942SRalf Baechle int __init pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) 22a6d377b6SPaul Mundt { 23a6d377b6SPaul Mundt return irq_tab[slot]; 24a6d377b6SPaul Mundt } 25