xref: /openbmc/linux/arch/mips/pci/fixup-bcm63xx.c (revision e7300d04)
1e7300d04SMaxime Bizon /*
2e7300d04SMaxime Bizon  * This file is subject to the terms and conditions of the GNU General Public
3e7300d04SMaxime Bizon  * License.  See the file "COPYING" in the main directory of this archive
4e7300d04SMaxime Bizon  * for more details.
5e7300d04SMaxime Bizon  *
6e7300d04SMaxime Bizon  * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr>
7e7300d04SMaxime Bizon  */
8e7300d04SMaxime Bizon 
9e7300d04SMaxime Bizon #include <linux/types.h>
10e7300d04SMaxime Bizon #include <linux/pci.h>
11e7300d04SMaxime Bizon #include <bcm63xx_cpu.h>
12e7300d04SMaxime Bizon 
pcibios_map_irq(const struct pci_dev * dev,u8 slot,u8 pin)13e7300d04SMaxime Bizon int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
14e7300d04SMaxime Bizon {
15e7300d04SMaxime Bizon 	return bcm63xx_get_irq_number(IRQ_PCI);
16e7300d04SMaxime Bizon }
17e7300d04SMaxime Bizon 
pcibios_plat_dev_init(struct pci_dev * dev)18e7300d04SMaxime Bizon int pcibios_plat_dev_init(struct pci_dev *dev)
19e7300d04SMaxime Bizon {
20e7300d04SMaxime Bizon 	return 0;
21e7300d04SMaxime Bizon }
22