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