repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
RT-AC66 3.0.0.4.374.130 core
[tomato.git]
/
release
/
src-rt-6.x
/
linux
/
linux-2.6
/
arch
/
mips
/
pci
/
pci-ev64120.c
blob
a84f594b5a18362bb25f4358b21f482ed418144c
1
#include <linux/pci.h>
2
#include <asm/irq.h>
3
4
int
__init
pcibios_map_irq
(
struct
pci_dev
*
dev
,
u8 slot
,
u8 pin
)
5
{
6
int
irq
;
7
8
if
(!
pin
)
9
return
0
;
10
11
irq
=
allocate_irqno
();
12
if
(
irq
<
0
)
13
return
0
;
14
15
return
irq
;
16
}
17
18
/* Do platform specific device initialization at pci_enable_device() time */
19
int
pcibios_plat_dev_init
(
struct
pci_dev
*
dev
)
20
{
21
return
0
;
22
}