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
1c065a68
Commit
1c065a68
authored
Mar 19, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
On sparc64 Schizo PCI controllers, there is no inofixup
to apply during IRQ building.
parent
86f409df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
arch/sparc64/kernel/pci_schizo.c
arch/sparc64/kernel/pci_schizo.c
+8
-5
No files found.
arch/sparc64/kernel/pci_schizo.c
View file @
1c065a68
...
@@ -383,7 +383,7 @@ static unsigned int __init schizo_irq_build(struct pci_pbm_info *pbm,
...
@@ -383,7 +383,7 @@ static unsigned int __init schizo_irq_build(struct pci_pbm_info *pbm,
struct
ino_bucket
*
bucket
;
struct
ino_bucket
*
bucket
;
unsigned
long
imap
,
iclr
,
pbm_off
;
unsigned
long
imap
,
iclr
,
pbm_off
;
unsigned
long
imap_off
,
iclr_off
;
unsigned
long
imap_off
,
iclr_off
;
int
pil
,
inofixup
=
0
;
int
pil
;
if
(
pbm
==
&
p
->
pbm_A
)
if
(
pbm
==
&
p
->
pbm_A
)
pbm_off
=
SCHIZO_PBM_A_REGS_OFF
;
pbm_off
=
SCHIZO_PBM_A_REGS_OFF
;
...
@@ -406,10 +406,13 @@ static unsigned int __init schizo_irq_build(struct pci_pbm_info *pbm,
...
@@ -406,10 +406,13 @@ static unsigned int __init schizo_irq_build(struct pci_pbm_info *pbm,
iclr
=
p
->
controller_regs
+
pbm_off
+
iclr_off
;
iclr
=
p
->
controller_regs
+
pbm_off
+
iclr_off
;
iclr
+=
4
;
iclr
+=
4
;
if
(
ino
<
0x18
)
/* On Schizo, no inofixup occurs. This is because each
inofixup
=
ino
&
0x03
;
* INO has it's own IMAP register. On Psycho and Sabre
* there is only one IMAP register for each PCI slot even
bucket
=
__bucket
(
build_irq
(
pil
,
inofixup
,
iclr
,
imap
));
* though four different INOs can be generated by each
* PCI slot.
*/
bucket
=
__bucket
(
build_irq
(
pil
,
0
,
iclr
,
imap
));
bucket
->
flags
|=
IBF_PCI
;
bucket
->
flags
|=
IBF_PCI
;
return
__irq
(
bucket
);
return
__irq
(
bucket
);
...
...
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