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
6d5d05d6
Commit
6d5d05d6
authored
Jul 21, 2002
by
Tom Rini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Update the CPC700 code to be able to use all 32 IRQs.
parent
25330c60
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
arch/ppc/platforms/cpc700.h
arch/ppc/platforms/cpc700.h
+2
-2
arch/ppc/platforms/cpc700_pic.c
arch/ppc/platforms/cpc700_pic.c
+2
-2
arch/ppc/platforms/spruce_setup.c
arch/ppc/platforms/spruce_setup.c
+2
-2
No files found.
arch/ppc/platforms/cpc700.h
View file @
6d5d05d6
...
...
@@ -6,7 +6,7 @@
* Author: Mark A. Greer
* mgreer@mvista.com
*
* Copyright 2000 MontaVista Software Inc.
* Copyright 2000
-2002
MontaVista Software Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
...
...
@@ -101,7 +101,7 @@
* UIC Exports...
*/
extern
struct
hw_interrupt_type
cpc700_pic
;
extern
unsigned
int
cpc700_irq_assigns
[
27
][
2
];
extern
unsigned
int
cpc700_irq_assigns
[
32
][
2
];
extern
void
__init
cpc700_init_IRQ
(
void
);
extern
int
cpc700_get_irq
(
struct
pt_regs
*
);
...
...
arch/ppc/platforms/cpc700_pic.c
View file @
6d5d05d6
...
...
@@ -8,7 +8,7 @@
* mporter@mvista.com
* jpeters@mvista.com
*
* Copyright 2001 MontaVista Software Inc.
* Copyright 2001
-2002
MontaVista Software Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
...
...
@@ -168,7 +168,7 @@ cpc700_init_IRQ(void)
cpc700_pic_init_irq
(
i
);
}
for
(
i
=
20
;
i
<
27
;
i
++
)
{
for
(
i
=
20
;
i
<
32
;
i
++
)
{
irq_desc
[
i
].
handler
=
&
cpc700_pic
;
cpc700_pic_init_irq
(
i
);
}
...
...
arch/ppc/platforms/spruce_setup.c
View file @
6d5d05d6
...
...
@@ -6,7 +6,7 @@
* Authors: Johnnie Peters <jpeters@mvista.com>
* Matt Porter <mporter@mvista.com>
*
* Copyright 2001 MontaVista Software Inc.
* Copyright 2001
-2002
MontaVista Software Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
...
...
@@ -71,7 +71,7 @@ extern char cmd_line[];
*
* First entry is the sensitivity (level/edge), second is the polarity.
*/
unsigned
int
cpc700_irq_assigns
[
27
][
2
]
=
{
unsigned
int
cpc700_irq_assigns
[
32
][
2
]
=
{
{
1
,
1
},
/* IRQ 0: ECC Correctable Error - rising edge */
{
1
,
1
},
/* IRQ 1: PCI Write Mem Range - rising edge */
{
0
,
1
},
/* IRQ 2: PCI Write Command Reg - active high */
...
...
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