aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci-ev64120.c
blob: a84f594b5a18362bb25f4358b21f482ed418144c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <linux/pci.h>
#include <asm/irq.h>

int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
{
	int irq;

	if (!pin)
		return 0;

	irq = allocate_irqno();
	if (irq < 0)
		return 0;

	return irq;
}

/* Do platform specific device initialization at pci_enable_device() time */
int pcibios_plat_dev_init(struct pci_dev *dev)
{
	return 0;
}