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
1dd50b91
Commit
1dd50b91
authored
Sep 28, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Disable SBH interrupt properly.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
d072d73d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
arch/sparc64/kernel/pci_psycho.c
arch/sparc64/kernel/pci_psycho.c
+5
-5
arch/sparc64/kernel/pci_schizo.c
arch/sparc64/kernel/pci_schizo.c
+4
-4
No files found.
arch/sparc64/kernel/pci_psycho.c
View file @
1dd50b91
...
...
@@ -887,7 +887,7 @@ static irqreturn_t psycho_pcierr_intr_other(struct pci_pbm_info *pbm, int is_pbm
}
csr
=
psycho_read
(
csr_reg
);
csr_error_bits
=
csr
&
(
/*PSYCHO_PCICTRL_SBH_ERR |*/
PSYCHO_PCICTRL_SERR
);
csr
&
(
PSYCHO_PCICTRL_SBH_ERR
|
PSYCHO_PCICTRL_SERR
);
if
(
csr_error_bits
)
{
/* Clear the errors. */
psycho_write
(
csr_reg
,
csr
);
...
...
@@ -1077,16 +1077,16 @@ static void __init psycho_register_error_handlers(struct pci_controller_info *p)
*/
tmp
=
psycho_read
(
base
+
PSYCHO_PCIA_CTRL
);
tmp
|=
(
PSYCHO_PCICTRL_SERR
|
PSYCHO_PCICTRL_SBH_
INT
|
PSYCHO_PCICTRL_SBH_
ERR
|
PSYCHO_PCICTRL_EEN
);
tmp
&=
~
(
PSYCHO_PCICTRL_SBH_
ERR
);
tmp
&=
~
(
PSYCHO_PCICTRL_SBH_
INT
);
psycho_write
(
base
+
PSYCHO_PCIA_CTRL
,
tmp
);
tmp
=
psycho_read
(
base
+
PSYCHO_PCIB_CTRL
);
tmp
|=
(
PSYCHO_PCICTRL_SERR
|
PSYCHO_PCICTRL_SBH_
INT
|
PSYCHO_PCICTRL_SBH_
ERR
|
PSYCHO_PCICTRL_EEN
);
tmp
&=
~
(
PSYCHO_PCICTRL_SBH_
ERR
);
tmp
&=
~
(
PSYCHO_PCICTRL_SBH_
INT
);
psycho_write
(
base
+
PSYCHO_PCIB_CTRL
,
tmp
);
}
...
...
arch/sparc64/kernel/pci_schizo.c
View file @
1dd50b91
...
...
@@ -886,7 +886,7 @@ static irqreturn_t schizo_pcierr_intr_other(struct pci_pbm_info *pbm)
SCHIZO_PCICTRL_TTO_ERR
|
SCHIZO_PCICTRL_RTRY_ERR
|
SCHIZO_PCICTRL_DTO_ERR
|
/*SCHIZO_PCICTRL_SBH_ERR |*/
SCHIZO_PCICTRL_SBH_ERR
|
SCHIZO_PCICTRL_SERR
);
if
(
csr_error_bits
)
{
/* Clear the errors. */
...
...
@@ -1370,12 +1370,12 @@ static void __init schizo_register_error_handlers(struct pci_controller_info *p)
SCHIZO_PCICTRL_ESLCK
|
SCHIZO_PCICTRL_TTO_ERR
|
SCHIZO_PCICTRL_RTRY_ERR
|
/*SCHIZO_PCICTRL_SBH_ERR |*/
SCHIZO_PCICTRL_SBH_ERR
|
SCHIZO_PCICTRL_SERR
|
SCHIZO_PCICTRL_SBH_INT
|
SCHIZO_PCICTRL_EEN
);
err_no_mask
=
SCHIZO_PCICTRL_DTO_ERR
;
err_no_mask
=
(
SCHIZO_PCICTRL_DTO_ERR
|
SCHIZO_PCICTRL_SBH_INT
);
/* Enable PCI Error interrupts and clear error
* bits for each 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