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
a3dffa6e
Commit
a3dffa6e
authored
Sep 29, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arch/sparc64/kernel/pci_schizo.c: Enable error interrupts in correct PBM.
parent
9b8940d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
arch/sparc64/kernel/pci_schizo.c
arch/sparc64/kernel/pci_schizo.c
+5
-5
No files found.
arch/sparc64/kernel/pci_schizo.c
View file @
a3dffa6e
...
@@ -1071,7 +1071,7 @@ static void __init schizo_register_error_handlers(struct pci_controller_info *p)
...
@@ -1071,7 +1071,7 @@ static void __init schizo_register_error_handlers(struct pci_controller_info *p)
u64
tmp
;
u64
tmp
;
/* Build IRQs and register handlers. */
/* Build IRQs and register handlers. */
irq
=
schizo_irq_build
(
pbm_
a
,
NULL
,
(
portid
<<
6
)
|
SCHIZO_UE_INO
);
irq
=
schizo_irq_build
(
pbm_
b
,
NULL
,
(
portid
<<
6
)
|
SCHIZO_UE_INO
);
if
(
request_irq
(
irq
,
schizo_ue_intr
,
if
(
request_irq
(
irq
,
schizo_ue_intr
,
SA_SHIRQ
,
"SCHIZO UE"
,
p
)
<
0
)
{
SA_SHIRQ
,
"SCHIZO UE"
,
p
)
<
0
)
{
prom_printf
(
"SCHIZO%d: Cannot register UE interrupt.
\n
"
,
prom_printf
(
"SCHIZO%d: Cannot register UE interrupt.
\n
"
,
...
@@ -1082,7 +1082,7 @@ static void __init schizo_register_error_handlers(struct pci_controller_info *p)
...
@@ -1082,7 +1082,7 @@ static void __init schizo_register_error_handlers(struct pci_controller_info *p)
tmp
=
readl
(
bucket
->
imap
);
tmp
=
readl
(
bucket
->
imap
);
upa_writel
(
tmp
,
(
base
+
SCHIZO_PBM_B_REGS_OFF
+
schizo_imap_offset
(
SCHIZO_UE_INO
)
+
4
));
upa_writel
(
tmp
,
(
base
+
SCHIZO_PBM_B_REGS_OFF
+
schizo_imap_offset
(
SCHIZO_UE_INO
)
+
4
));
irq
=
schizo_irq_build
(
pbm_
a
,
NULL
,
(
portid
<<
6
)
|
SCHIZO_CE_INO
);
irq
=
schizo_irq_build
(
pbm_
b
,
NULL
,
(
portid
<<
6
)
|
SCHIZO_CE_INO
);
if
(
request_irq
(
irq
,
schizo_ce_intr
,
if
(
request_irq
(
irq
,
schizo_ce_intr
,
SA_SHIRQ
,
"SCHIZO CE"
,
p
)
<
0
)
{
SA_SHIRQ
,
"SCHIZO CE"
,
p
)
<
0
)
{
prom_printf
(
"SCHIZO%d: Cannot register CE interrupt.
\n
"
,
prom_printf
(
"SCHIZO%d: Cannot register CE interrupt.
\n
"
,
...
@@ -1102,9 +1102,9 @@ static void __init schizo_register_error_handlers(struct pci_controller_info *p)
...
@@ -1102,9 +1102,9 @@ static void __init schizo_register_error_handlers(struct pci_controller_info *p)
}
}
bucket
=
__bucket
(
irq
);
bucket
=
__bucket
(
irq
);
tmp
=
upa_readl
(
bucket
->
imap
);
tmp
=
upa_readl
(
bucket
->
imap
);
upa_writel
(
tmp
,
(
base
+
SCHIZO_PBM_
B
_REGS_OFF
+
schizo_imap_offset
(
SCHIZO_PCIERR_A_INO
)
+
4
));
upa_writel
(
tmp
,
(
base
+
SCHIZO_PBM_
A
_REGS_OFF
+
schizo_imap_offset
(
SCHIZO_PCIERR_A_INO
)
+
4
));
irq
=
schizo_irq_build
(
pbm_
a
,
NULL
,
(
portid
<<
6
)
|
SCHIZO_PCIERR_B_INO
);
irq
=
schizo_irq_build
(
pbm_
b
,
NULL
,
(
portid
<<
6
)
|
SCHIZO_PCIERR_B_INO
);
if
(
request_irq
(
irq
,
schizo_pcierr_intr
,
if
(
request_irq
(
irq
,
schizo_pcierr_intr
,
SA_SHIRQ
,
"SCHIZO PCIERR"
,
pbm_b
)
<
0
)
{
SA_SHIRQ
,
"SCHIZO PCIERR"
,
pbm_b
)
<
0
)
{
prom_printf
(
"SCHIZO%d(PBMB): Cannot register PciERR interrupt.
\n
"
,
prom_printf
(
"SCHIZO%d(PBMB): Cannot register PciERR interrupt.
\n
"
,
...
@@ -1115,7 +1115,7 @@ static void __init schizo_register_error_handlers(struct pci_controller_info *p)
...
@@ -1115,7 +1115,7 @@ static void __init schizo_register_error_handlers(struct pci_controller_info *p)
tmp
=
upa_readl
(
bucket
->
imap
);
tmp
=
upa_readl
(
bucket
->
imap
);
upa_writel
(
tmp
,
(
base
+
SCHIZO_PBM_B_REGS_OFF
+
schizo_imap_offset
(
SCHIZO_PCIERR_B_INO
)
+
4
));
upa_writel
(
tmp
,
(
base
+
SCHIZO_PBM_B_REGS_OFF
+
schizo_imap_offset
(
SCHIZO_PCIERR_B_INO
)
+
4
));
irq
=
schizo_irq_build
(
pbm_
a
,
NULL
,
(
portid
<<
6
)
|
SCHIZO_SERR_INO
);
irq
=
schizo_irq_build
(
pbm_
b
,
NULL
,
(
portid
<<
6
)
|
SCHIZO_SERR_INO
);
if
(
request_irq
(
irq
,
schizo_safarierr_intr
,
if
(
request_irq
(
irq
,
schizo_safarierr_intr
,
SA_SHIRQ
,
"SCHIZO SERR"
,
p
)
<
0
)
{
SA_SHIRQ
,
"SCHIZO SERR"
,
p
)
<
0
)
{
prom_printf
(
"SCHIZO%d(PBMB): Cannot register SafariERR interrupt.
\n
"
,
prom_printf
(
"SCHIZO%d(PBMB): Cannot register SafariERR interrupt.
\n
"
,
...
...
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