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