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
nexedi
linux
Commits
e7093703
Commit
e7093703
authored
Feb 14, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: INO is never fully specified already on SUN4V.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
4a07e646
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
arch/sparc64/kernel/pci_common.c
arch/sparc64/kernel/pci_common.c
+11
-9
No files found.
arch/sparc64/kernel/pci_common.c
View file @
e7093703
...
@@ -703,16 +703,18 @@ static void __init pdev_fixup_irq(struct pci_dev *pdev)
...
@@ -703,16 +703,18 @@ static void __init pdev_fixup_irq(struct pci_dev *pdev)
return
;
return
;
}
}
/* Fully specified already? */
if
(
tlb_type
!=
hypervisor
)
{
if
(((
prom_irq
&
PCI_IRQ_IGN
)
>>
6
)
==
portid
)
{
/* Fully specified already? */
pdev
->
irq
=
p
->
irq_build
(
pbm
,
pdev
,
prom_irq
);
if
(((
prom_irq
&
PCI_IRQ_IGN
)
>>
6
)
==
portid
)
{
goto
have_irq
;
pdev
->
irq
=
p
->
irq_build
(
pbm
,
pdev
,
prom_irq
);
}
goto
have_irq
;
}
/* An onboard device? (bit 5 set) */
/* An onboard device? (bit 5 set) */
if
((
prom_irq
&
PCI_IRQ_INO
)
&
0x20
)
{
if
((
prom_irq
&
PCI_IRQ_INO
)
&
0x20
)
{
pdev
->
irq
=
p
->
irq_build
(
pbm
,
pdev
,
(
portid
<<
6
|
prom_irq
));
pdev
->
irq
=
p
->
irq_build
(
pbm
,
pdev
,
(
portid
<<
6
|
prom_irq
));
goto
have_irq
;
goto
have_irq
;
}
}
}
/* Can we find a matching entry in the interrupt-map? */
/* Can we find a matching entry in the interrupt-map? */
...
...
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