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
1a6ea3ec
Commit
1a6ea3ec
authored
Nov 15, 2005
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] SEAD: More build fixes.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
09b696ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
15 deletions
+12
-15
arch/mips/mips-boards/sead/sead_int.c
arch/mips/mips-boards/sead/sead_int.c
+1
-11
arch/mips/mips-boards/sead/sead_setup.c
arch/mips/mips-boards/sead/sead_setup.c
+2
-2
include/asm-mips/mips-boards/seadint.h
include/asm-mips/mips-boards/seadint.h
+9
-2
No files found.
arch/mips/mips-boards/sead/sead_int.c
View file @
1a6ea3ec
...
@@ -30,19 +30,9 @@
...
@@ -30,19 +30,9 @@
extern
asmlinkage
void
mipsIRQ
(
void
);
extern
asmlinkage
void
mipsIRQ
(
void
);
asmlinkage
void
sead_hw0_irqdispatch
(
struct
pt_regs
*
regs
)
{
do_IRQ
(
SEADINT_UART0
,
regs
);
}
asmlinkage
void
sead_hw1_irqdispatch
(
struct
pt_regs
*
regs
)
{
do_IRQ
(
SEADINT_UART1
,
regs
);
}
void
__init
arch_init_irq
(
void
)
void
__init
arch_init_irq
(
void
)
{
{
mips_cpu_irq_init
(
0
);
mips_cpu_irq_init
(
MIPSCPU_INT_BASE
);
/* Now safe to set the exception vector. */
/* Now safe to set the exception vector. */
set_except_vector
(
0
,
mipsIRQ
);
set_except_vector
(
0
,
mipsIRQ
);
...
...
arch/mips/mips-boards/sead/sead_setup.c
View file @
1a6ea3ec
...
@@ -45,7 +45,7 @@ const char *get_system_type(void)
...
@@ -45,7 +45,7 @@ const char *get_system_type(void)
return
"MIPS SEAD"
;
return
"MIPS SEAD"
;
}
}
static
void
__init
sead
_setup
(
void
)
void
__init
plat
_setup
(
void
)
{
{
ioport_resource
.
end
=
0x7fffffff
;
ioport_resource
.
end
=
0x7fffffff
;
...
@@ -69,7 +69,7 @@ static void __init serial_init(void)
...
@@ -69,7 +69,7 @@ static void __init serial_init(void)
#else
#else
s
.
iobase
=
SEAD_UART0_REGS_BASE
+
3
;
s
.
iobase
=
SEAD_UART0_REGS_BASE
+
3
;
#endif
#endif
s
.
irq
=
SEAD
INT_UART0
;
s
.
irq
=
MIPSCPU_INT_BASE
+
MIPSCPU_
INT_UART0
;
s
.
uartclk
=
SEAD_BASE_BAUD
*
16
;
s
.
uartclk
=
SEAD_BASE_BAUD
*
16
;
s
.
flags
=
ASYNC_BOOT_AUTOCONF
|
ASYNC_SKIP_TEST
|
ASYNC_AUTO_IRQ
;
s
.
flags
=
ASYNC_BOOT_AUTOCONF
|
ASYNC_SKIP_TEST
|
ASYNC_AUTO_IRQ
;
s
.
iotype
=
0
;
s
.
iotype
=
0
;
...
...
include/asm-mips/mips-boards/seadint.h
View file @
1a6ea3ec
...
@@ -20,7 +20,14 @@
...
@@ -20,7 +20,14 @@
#ifndef _MIPS_SEADINT_H
#ifndef _MIPS_SEADINT_H
#define _MIPS_SEADINT_H
#define _MIPS_SEADINT_H
#define SEADINT_UART0 2
/*
#define SEADINT_UART1 3
* Interrupts 0..7 are used for SEAD CPU interrupts
*/
#define MIPSCPU_INT_BASE 0
#define MIPSCPU_INT_UART0 2
#define MIPSCPU_INT_UART1 3
#define MIPSCPU_INT_CPUCTR 7
#endif
/* !(_MIPS_SEADINT_H) */
#endif
/* !(_MIPS_SEADINT_H) */
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