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
Kirill Smelkov
linux
Commits
7a834196
Commit
7a834196
authored
Apr 15, 2006
by
Chris Dearman
Committed by
Ralf Baechle
Apr 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] 24K LV: Add core card id.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
2a2c3e45
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
0 deletions
+6
-0
arch/mips/mips-boards/generic/init.c
arch/mips/mips-boards/generic/init.c
+1
-0
arch/mips/mips-boards/generic/pci.c
arch/mips/mips-boards/generic/pci.c
+1
-0
arch/mips/mips-boards/malta/malta_int.c
arch/mips/mips-boards/malta/malta_int.c
+3
-0
include/asm-mips/mips-boards/generic.h
include/asm-mips/mips-boards/generic.h
+1
-0
No files found.
arch/mips/mips-boards/generic/init.c
View file @
7a834196
...
@@ -337,6 +337,7 @@ void __init prom_init(void)
...
@@ -337,6 +337,7 @@ void __init prom_init(void)
case
MIPS_REVISION_CORID_CORE_MSC
:
case
MIPS_REVISION_CORID_CORE_MSC
:
case
MIPS_REVISION_CORID_CORE_FPGA2
:
case
MIPS_REVISION_CORID_CORE_FPGA2
:
case
MIPS_REVISION_CORID_CORE_FPGA3
:
case
MIPS_REVISION_CORID_CORE_FPGA3
:
case
MIPS_REVISION_CORID_CORE_24K
:
case
MIPS_REVISION_CORID_CORE_EMUL_MSC
:
case
MIPS_REVISION_CORID_CORE_EMUL_MSC
:
_pcictrl_msc
=
(
unsigned
long
)
ioremap
(
MIPS_MSC01_PCI_REG_BASE
,
0x2000
);
_pcictrl_msc
=
(
unsigned
long
)
ioremap
(
MIPS_MSC01_PCI_REG_BASE
,
0x2000
);
...
...
arch/mips/mips-boards/generic/pci.c
View file @
7a834196
...
@@ -198,6 +198,7 @@ void __init mips_pcibios_init(void)
...
@@ -198,6 +198,7 @@ void __init mips_pcibios_init(void)
case
MIPS_REVISION_CORID_CORE_MSC
:
case
MIPS_REVISION_CORID_CORE_MSC
:
case
MIPS_REVISION_CORID_CORE_FPGA2
:
case
MIPS_REVISION_CORID_CORE_FPGA2
:
case
MIPS_REVISION_CORID_CORE_FPGA3
:
case
MIPS_REVISION_CORID_CORE_FPGA3
:
case
MIPS_REVISION_CORID_CORE_24K
:
case
MIPS_REVISION_CORID_CORE_EMUL_MSC
:
case
MIPS_REVISION_CORID_CORE_EMUL_MSC
:
/* Set up resource ranges from the controller's registers. */
/* Set up resource ranges from the controller's registers. */
MSC_READ
(
MSC01_PCI_SC2PMBASL
,
start
);
MSC_READ
(
MSC01_PCI_SC2PMBASL
,
start
);
...
...
arch/mips/mips-boards/malta/malta_int.c
View file @
7a834196
...
@@ -57,6 +57,7 @@ static inline int mips_pcibios_iack(void)
...
@@ -57,6 +57,7 @@ static inline int mips_pcibios_iack(void)
case
MIPS_REVISION_CORID_CORE_MSC
:
case
MIPS_REVISION_CORID_CORE_MSC
:
case
MIPS_REVISION_CORID_CORE_FPGA2
:
case
MIPS_REVISION_CORID_CORE_FPGA2
:
case
MIPS_REVISION_CORID_CORE_FPGA3
:
case
MIPS_REVISION_CORID_CORE_FPGA3
:
case
MIPS_REVISION_CORID_CORE_24K
:
case
MIPS_REVISION_CORID_CORE_EMUL_MSC
:
case
MIPS_REVISION_CORID_CORE_EMUL_MSC
:
MSC_READ
(
MSC01_PCI_IACK
,
irq
);
MSC_READ
(
MSC01_PCI_IACK
,
irq
);
irq
&=
0xff
;
irq
&=
0xff
;
...
@@ -143,6 +144,7 @@ void corehi_irqdispatch(struct pt_regs *regs)
...
@@ -143,6 +144,7 @@ void corehi_irqdispatch(struct pt_regs *regs)
case
MIPS_REVISION_CORID_CORE_MSC
:
case
MIPS_REVISION_CORID_CORE_MSC
:
case
MIPS_REVISION_CORID_CORE_FPGA2
:
case
MIPS_REVISION_CORID_CORE_FPGA2
:
case
MIPS_REVISION_CORID_CORE_FPGA3
:
case
MIPS_REVISION_CORID_CORE_FPGA3
:
case
MIPS_REVISION_CORID_CORE_24K
:
case
MIPS_REVISION_CORID_CORE_EMUL_MSC
:
case
MIPS_REVISION_CORID_CORE_EMUL_MSC
:
ll_msc_irq
(
regs
);
ll_msc_irq
(
regs
);
break
;
break
;
...
@@ -309,6 +311,7 @@ void __init arch_init_irq(void)
...
@@ -309,6 +311,7 @@ void __init arch_init_irq(void)
case
MIPS_REVISION_CORID_CORE_MSC
:
case
MIPS_REVISION_CORID_CORE_MSC
:
case
MIPS_REVISION_CORID_CORE_FPGA2
:
case
MIPS_REVISION_CORID_CORE_FPGA2
:
case
MIPS_REVISION_CORID_CORE_FPGA3
:
case
MIPS_REVISION_CORID_CORE_FPGA3
:
case
MIPS_REVISION_CORID_CORE_24K
:
case
MIPS_REVISION_CORID_CORE_EMUL_MSC
:
case
MIPS_REVISION_CORID_CORE_EMUL_MSC
:
if
(
cpu_has_veic
)
if
(
cpu_has_veic
)
init_msc_irqs
(
MSC01E_INT_BASE
,
msc_eicirqmap
,
msc_nr_eicirqs
);
init_msc_irqs
(
MSC01E_INT_BASE
,
msc_eicirqmap
,
msc_nr_eicirqs
);
...
...
include/asm-mips/mips-boards/generic.h
View file @
7a834196
...
@@ -67,6 +67,7 @@
...
@@ -67,6 +67,7 @@
#define MIPS_REVISION_CORID_CORE_FPGA2 7
#define MIPS_REVISION_CORID_CORE_FPGA2 7
#define MIPS_REVISION_CORID_CORE_FPGAR2 8
#define MIPS_REVISION_CORID_CORE_FPGAR2 8
#define MIPS_REVISION_CORID_CORE_FPGA3 9
#define MIPS_REVISION_CORID_CORE_FPGA3 9
#define MIPS_REVISION_CORID_CORE_24K 10
/**** Artificial corid defines ****/
/**** Artificial corid defines ****/
/*
/*
...
...
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