Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
66e42619
Commit
66e42619
authored
Feb 17, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
28ad2df3
64057cbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
9 deletions
+19
-9
arch/arm/kernel/debug.S
arch/arm/kernel/debug.S
+1
-1
arch/arm/mach-ixp2000/enp2611.c
arch/arm/mach-ixp2000/enp2611.c
+18
-8
No files found.
arch/arm/kernel/debug.S
View file @
66e42619
/*
*
linux
/
arch
/
arm
/
kernel
/
debug
-
armv
.
S
*
linux
/
arch
/
arm
/
kernel
/
debug
.
S
*
*
Copyright
(
C
)
1994
-
1999
Russell
King
*
...
...
arch/arm/mach-ixp2000/enp2611.c
View file @
66e42619
...
...
@@ -124,20 +124,28 @@ static int __init enp2611_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
{
int
irq
;
if
(
dev
->
bus
->
number
==
0x00
&&
PCI_SLOT
(
dev
->
devfn
)
==
0x01
)
{
if
(
dev
->
bus
->
number
==
0
&&
PCI_SLOT
(
dev
->
devfn
)
==
0
)
{
/* IXP2400. */
irq
=
IRQ_IXP2000_PCIA
;
}
else
if
(
dev
->
bus
->
number
==
0
&&
PCI_SLOT
(
dev
->
devfn
)
==
1
)
{
/* 21555 non-transparent bridge. */
irq
=
IRQ_IXP2000_PCIB
;
}
else
if
(
dev
->
bus
->
number
==
0x01
&&
PCI_SLOT
(
dev
->
devfn
)
==
0x00
)
{
}
else
if
(
dev
->
bus
->
number
==
0
&&
PCI_SLOT
(
dev
->
devfn
)
==
4
)
{
/* PCI2050B transparent bridge. */
irq
=
-
1
;
}
else
if
(
dev
->
bus
->
number
==
1
&&
PCI_SLOT
(
dev
->
devfn
)
==
0
)
{
/* 82559 ethernet. */
irq
=
IRQ_IXP2000_PCIA
;
}
else
if
(
dev
->
bus
->
number
==
1
&&
PCI_SLOT
(
dev
->
devfn
)
==
1
)
{
/* SPI-3 option board. */
irq
=
IRQ_IXP2000_PCIB
;
}
else
{
printk
(
KERN_INFO
"enp2611_pci_map_irq for unknown device
\n
"
);
irq
=
IRQ_IXP2000_PCI
;
printk
(
KERN_ERR
"enp2611_pci_map_irq() called for unknown "
"device PCI:%d:%d:%d
\n
"
,
dev
->
bus
->
number
,
PCI_SLOT
(
dev
->
devfn
),
PCI_FUNC
(
dev
->
devfn
));
irq
=
-
1
;
}
printk
(
KERN_INFO
"Assigned IRQ %d to PCI:%d:%d:%d
\n
"
,
irq
,
dev
->
bus
->
number
,
PCI_SLOT
(
dev
->
devfn
),
PCI_FUNC
(
dev
->
devfn
));
return
irq
;
}
...
...
@@ -151,7 +159,9 @@ struct hw_pci enp2611_pci __initdata = {
int
__init
enp2611_pci_init
(
void
)
{
pci_common_init
(
&
enp2611_pci
);
if
(
machine_is_enp2611
())
pci_common_init
(
&
enp2611_pci
);
return
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment