Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
329c68b2
Commit
329c68b2
authored
Feb 14, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Make lack of interrupt-map-* a fatal error on SUN4V.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
abd92b2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
arch/sparc64/kernel/pci_sun4v.c
arch/sparc64/kernel/pci_sun4v.c
+14
-13
No files found.
arch/sparc64/kernel/pci_sun4v.c
View file @
329c68b2
...
...
@@ -954,20 +954,21 @@ static void pci_sun4v_pbm_init(struct pci_controller_info *p, int prom_node, u32
err
=
prom_getproperty
(
prom_node
,
"interrupt-map"
,
(
char
*
)
pbm
->
pbm_intmap
,
sizeof
(
pbm
->
pbm_intmap
));
if
(
err
!=
-
1
)
{
if
(
err
==
0
||
err
==
-
1
)
{
prom_printf
(
"%s: Fatal error, no interrupt-map property.
\n
"
,
pbm
->
name
);
prom_halt
();
}
pbm
->
num_pbm_intmap
=
(
err
/
sizeof
(
struct
linux_prom_pci_intmap
));
err
=
prom_getproperty
(
prom_node
,
"interrupt-map-mask"
,
(
char
*
)
&
pbm
->
pbm_intmask
,
sizeof
(
pbm
->
pbm_intmask
));
if
(
err
==
-
1
)
{
prom_printf
(
"%s: Fatal error, no "
"interrupt-map-mask.
\n
"
,
pbm
->
name
);
if
(
err
==
0
||
err
==
-
1
)
{
prom_printf
(
"%s: Fatal error, no interrupt-map-mask.
\n
"
,
pbm
->
name
);
prom_halt
();
}
}
else
{
pbm
->
num_pbm_intmap
=
0
;
memset
(
&
pbm
->
pbm_intmask
,
0
,
sizeof
(
pbm
->
pbm_intmask
));
}
pci_sun4v_get_bus_range
(
pbm
);
pci_sun4v_iommu_init
(
pbm
);
...
...
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