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
431121f4
Commit
431121f4
authored
Oct 15, 2002
by
Art Haas
Committed by
Linus Torvalds
Oct 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 designated initializers for arch/sh
parent
b2016928
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
585 additions
and
585 deletions
+585
-585
arch/sh/kernel/mach_7751se.c
arch/sh/kernel/mach_7751se.c
+43
-43
arch/sh/kernel/mach_adx.c
arch/sh/kernel/mach_adx.c
+34
-34
arch/sh/kernel/mach_bigsur.c
arch/sh/kernel/mach_bigsur.c
+35
-35
arch/sh/kernel/mach_cat68701.c
arch/sh/kernel/mach_cat68701.c
+35
-35
arch/sh/kernel/mach_dc.c
arch/sh/kernel/mach_dc.c
+43
-43
arch/sh/kernel/mach_dmida.c
arch/sh/kernel/mach_dmida.c
+30
-30
arch/sh/kernel/mach_ec3104.c
arch/sh/kernel/mach_ec3104.c
+29
-29
arch/sh/kernel/mach_hp600.c
arch/sh/kernel/mach_hp600.c
+120
-120
arch/sh/kernel/mach_se.c
arch/sh/kernel/mach_se.c
+43
-43
arch/sh/kernel/mach_unknown.c
arch/sh/kernel/mach_unknown.c
+33
-33
arch/sh/kernel/setup.c
arch/sh/kernel/setup.c
+10
-10
arch/sh/kernel/setup_cqreek.c
arch/sh/kernel/setup_cqreek.c
+42
-42
arch/sh/kernel/setup_dc.c
arch/sh/kernel/setup_dc.c
+7
-7
arch/sh/kernel/setup_ec3104.c
arch/sh/kernel/setup_ec3104.c
+7
-7
arch/sh/kernel/setup_hd64465.c
arch/sh/kernel/setup_hd64465.c
+7
-7
arch/sh/kernel/setup_sh2000.c
arch/sh/kernel/setup_sh2000.c
+33
-33
arch/sh/stboards/mach.c
arch/sh/stboards/mach.c
+34
-34
No files found.
arch/sh/kernel/mach_7751se.c
View file @
431121f4
...
...
@@ -27,52 +27,52 @@ void init_7751se_IRQ(void);
*/
struct
sh_machine_vector
mv_7751se
__initmv
=
{
mv_name:
"7751 SolutionEngine"
,
mv_nr_irqs:
72
,
mv_inb:
sh7751se_inb
,
mv_inw:
sh7751se_inw
,
mv_inl:
sh7751se_inl
,
mv_outb:
sh7751se_outb
,
mv_outw:
sh7751se_outw
,
mv_outl:
sh7751se_outl
,
mv_inb_p:
sh7751se_inb_p
,
mv_inw_p:
sh7751se_inw
,
mv_inl_p:
sh7751se_inl
,
mv_outb_p:
sh7751se_outb_p
,
mv_outw_p:
sh7751se_outw
,
mv_outl_p:
sh7751se_outl
,
mv_insb:
sh7751se_insb
,
mv_insw:
sh7751se_insw
,
mv_insl:
sh7751se_insl
,
mv_outsb:
sh7751se_outsb
,
mv_outsw:
sh7751se_outsw
,
mv_outsl:
sh7751se_outsl
,
mv_readb:
sh7751se_readb
,
mv_readw:
sh7751se_readw
,
mv_readl:
sh7751se_readl
,
mv_writeb:
sh7751se_writeb
,
mv_writew:
sh7751se_writew
,
mv_writel:
sh7751se_writel
,
mv_ioremap:
generic_ioremap
,
mv_iounmap:
generic_iounmap
,
mv_isa_port2addr:
sh7751se_isa_port2addr
,
mv_init_arch:
setup_7751se
,
mv_init_irq:
init_7751se_IRQ
,
.
mv_name
=
"7751 SolutionEngine"
,
.
mv_nr_irqs
=
72
,
.
mv_inb
=
sh7751se_inb
,
.
mv_inw
=
sh7751se_inw
,
.
mv_inl
=
sh7751se_inl
,
.
mv_outb
=
sh7751se_outb
,
.
mv_outw
=
sh7751se_outw
,
.
mv_outl
=
sh7751se_outl
,
.
mv_inb_p
=
sh7751se_inb_p
,
.
mv_inw_p
=
sh7751se_inw
,
.
mv_inl_p
=
sh7751se_inl
,
.
mv_outb_p
=
sh7751se_outb_p
,
.
mv_outw_p
=
sh7751se_outw
,
.
mv_outl_p
=
sh7751se_outl
,
.
mv_insb
=
sh7751se_insb
,
.
mv_insw
=
sh7751se_insw
,
.
mv_insl
=
sh7751se_insl
,
.
mv_outsb
=
sh7751se_outsb
,
.
mv_outsw
=
sh7751se_outsw
,
.
mv_outsl
=
sh7751se_outsl
,
.
mv_readb
=
sh7751se_readb
,
.
mv_readw
=
sh7751se_readw
,
.
mv_readl
=
sh7751se_readl
,
.
mv_writeb
=
sh7751se_writeb
,
.
mv_writew
=
sh7751se_writew
,
.
mv_writel
=
sh7751se_writel
,
.
mv_ioremap
=
generic_ioremap
,
.
mv_iounmap
=
generic_iounmap
,
.
mv_isa_port2addr
=
sh7751se_isa_port2addr
,
.
mv_init_arch
=
setup_7751se
,
.
mv_init_irq
=
init_7751se_IRQ
,
#ifdef CONFIG_HEARTBEAT
mv_heartbeat:
heartbeat_7751se
,
.
mv_heartbeat
=
heartbeat_7751se
,
#endif
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
mv_hw_7751se:
1
,
.
mv_hw_7751se
=
1
,
};
ALIAS_MV
(
7751
se
)
arch/sh/kernel/mach_adx.c
View file @
431121f4
...
...
@@ -25,49 +25,49 @@ extern void init_adx_IRQ(void);
*/
struct
sh_machine_vector
mv_adx
__initmv
=
{
mv_name:
"A&D_ADX"
,
.
mv_name
=
"A&D_ADX"
,
mv_nr_irqs:
48
,
.
mv_nr_irqs
=
48
,
mv_inb:
adx_inb
,
mv_inw:
adx_inw
,
mv_inl:
adx_inl
,
mv_outb:
adx_outb
,
mv_outw:
adx_outw
,
mv_outl:
adx_outl
,
.
mv_inb
=
adx_inb
,
.
mv_inw
=
adx_inw
,
.
mv_inl
=
adx_inl
,
.
mv_outb
=
adx_outb
,
.
mv_outw
=
adx_outw
,
.
mv_outl
=
adx_outl
,
mv_inb_p:
adx_inb_p
,
mv_inw_p:
adx_inw
,
mv_inl_p:
adx_inl
,
mv_outb_p:
adx_outb_p
,
mv_outw_p:
adx_outw
,
mv_outl_p:
adx_outl
,
.
mv_inb_p
=
adx_inb_p
,
.
mv_inw_p
=
adx_inw
,
.
mv_inl_p
=
adx_inl
,
.
mv_outb_p
=
adx_outb_p
,
.
mv_outw_p
=
adx_outw
,
.
mv_outl_p
=
adx_outl
,
mv_insb:
adx_insb
,
mv_insw:
adx_insw
,
mv_insl:
adx_insl
,
mv_outsb:
adx_outsb
,
mv_outsw:
adx_outsw
,
mv_outsl:
adx_outsl
,
.
mv_insb
=
adx_insb
,
.
mv_insw
=
adx_insw
,
.
mv_insl
=
adx_insl
,
.
mv_outsb
=
adx_outsb
,
.
mv_outsw
=
adx_outsw
,
.
mv_outsl
=
adx_outsl
,
mv_readb:
adx_readb
,
mv_readw:
adx_readw
,
mv_readl:
adx_readl
,
mv_writeb:
adx_writeb
,
mv_writew:
adx_writew
,
mv_writel:
adx_writel
,
.
mv_readb
=
adx_readb
,
.
mv_readw
=
adx_readw
,
.
mv_readl
=
adx_readl
,
.
mv_writeb
=
adx_writeb
,
.
mv_writew
=
adx_writew
,
.
mv_writel
=
adx_writel
,
mv_ioremap:
adx_ioremap
,
mv_iounmap:
adx_iounmap
,
.
mv_ioremap
=
adx_ioremap
,
.
mv_iounmap
=
adx_iounmap
,
mv_isa_port2addr:
adx_isa_port2addr
,
.
mv_isa_port2addr
=
adx_isa_port2addr
,
mv_init_arch:
setup_adx
,
mv_init_irq:
init_adx_IRQ
,
.
mv_init_arch
=
setup_adx
,
.
mv_init_irq
=
init_adx_IRQ
,
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
mv_hw_adx:
1
,
.
mv_hw_adx
=
1
,
};
ALIAS_MV
(
adx
)
arch/sh/kernel/mach_bigsur.c
View file @
431121f4
...
...
@@ -29,49 +29,49 @@ extern void setup_bigsur(void);
extern
void
init_bigsur_IRQ
(
void
);
struct
sh_machine_vector
mv_bigsur
__initmv
=
{
mv_name:
"Big Sur"
,
mv_nr_irqs:
NR_IRQS
,
// Defined in <asm/irq.h>
mv_inb:
bigsur_inb
,
mv_inw:
bigsur_inw
,
mv_inl:
bigsur_inl
,
mv_outb:
bigsur_outb
,
mv_outw:
bigsur_outw
,
mv_outl:
bigsur_outl
,
.
mv_name
=
"Big Sur"
,
.
mv_nr_irqs
=
NR_IRQS
,
// Defined in <asm/irq.h>
.
mv_inb
=
bigsur_inb
,
.
mv_inw
=
bigsur_inw
,
.
mv_inl
=
bigsur_inl
,
.
mv_outb
=
bigsur_outb
,
.
mv_outw
=
bigsur_outw
,
.
mv_outl
=
bigsur_outl
,
mv_inb_p:
bigsur_inb_p
,
mv_inw_p:
bigsur_inw
,
mv_inl_p:
bigsur_inl
,
mv_outb_p:
bigsur_outb_p
,
mv_outw_p:
bigsur_outw
,
mv_outl_p:
bigsur_outl
,
.
mv_inb_p
=
bigsur_inb_p
,
.
mv_inw_p
=
bigsur_inw
,
.
mv_inl_p
=
bigsur_inl
,
.
mv_outb_p
=
bigsur_outb_p
,
.
mv_outw_p
=
bigsur_outw
,
.
mv_outl_p
=
bigsur_outl
,
mv_insb:
bigsur_insb
,
mv_insw:
bigsur_insw
,
mv_insl:
bigsur_insl
,
mv_outsb:
bigsur_outsb
,
mv_outsw:
bigsur_outsw
,
mv_outsl:
bigsur_outsl
,
.
mv_insb
=
bigsur_insb
,
.
mv_insw
=
bigsur_insw
,
.
mv_insl
=
bigsur_insl
,
.
mv_outsb
=
bigsur_outsb
,
.
mv_outsw
=
bigsur_outsw
,
.
mv_outsl
=
bigsur_outsl
,
mv_readb:
generic_readb
,
mv_readw:
generic_readw
,
mv_readl:
generic_readl
,
mv_writeb:
generic_writeb
,
mv_writew:
generic_writew
,
mv_writel:
generic_writel
,
.
mv_readb
=
generic_readb
,
.
mv_readw
=
generic_readw
,
.
mv_readl
=
generic_readl
,
.
mv_writeb
=
generic_writeb
,
.
mv_writew
=
generic_writew
,
.
mv_writel
=
generic_writel
,
mv_ioremap:
generic_ioremap
,
mv_iounmap:
generic_iounmap
,
.
mv_ioremap
=
generic_ioremap
,
.
mv_iounmap
=
generic_iounmap
,
mv_isa_port2addr:
bigsur_isa_port2addr
,
mv_irq_demux:
bigsur_irq_demux
,
.
mv_isa_port2addr
=
bigsur_isa_port2addr
,
.
mv_irq_demux
=
bigsur_irq_demux
,
mv_init_arch:
setup_bigsur
,
mv_init_irq:
init_bigsur_IRQ
,
.
mv_init_arch
=
setup_bigsur
,
.
mv_init_irq
=
init_bigsur_IRQ
,
#ifdef CONFIG_HEARTBEAT
mv_heartbeat:
heartbeat_bigsur
,
.
mv_heartbeat
=
heartbeat_bigsur
,
#endif
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
};
ALIAS_MV
(
bigsur
)
arch/sh/kernel/mach_cat68701.c
View file @
431121f4
...
...
@@ -23,50 +23,50 @@
*/
struct
sh_machine_vector
mv_cat68701
__initmv
=
{
mv_name:
"CAT-68701"
,
mv_nr_irqs:
32
,
mv_inb:
cat68701_inb
,
mv_inw:
cat68701_inw
,
mv_inl:
cat68701_inl
,
mv_outb:
cat68701_outb
,
mv_outw:
cat68701_outw
,
mv_outl:
cat68701_outl
,
.
mv_name
=
"CAT-68701"
,
.
mv_nr_irqs
=
32
,
.
mv_inb
=
cat68701_inb
,
.
mv_inw
=
cat68701_inw
,
.
mv_inl
=
cat68701_inl
,
.
mv_outb
=
cat68701_outb
,
.
mv_outw
=
cat68701_outw
,
.
mv_outl
=
cat68701_outl
,
mv_inb_p:
cat68701_inb_p
,
mv_inw_p:
cat68701_inw
,
mv_inl_p:
cat68701_inl
,
mv_outb_p:
cat68701_outb_p
,
mv_outw_p:
cat68701_outw
,
mv_outl_p:
cat68701_outl
,
.
mv_inb_p
=
cat68701_inb_p
,
.
mv_inw_p
=
cat68701_inw
,
.
mv_inl_p
=
cat68701_inl
,
.
mv_outb_p
=
cat68701_outb_p
,
.
mv_outw_p
=
cat68701_outw
,
.
mv_outl_p
=
cat68701_outl
,
mv_insb:
cat68701_insb
,
mv_insw:
cat68701_insw
,
mv_insl:
cat68701_insl
,
mv_outsb:
cat68701_outsb
,
mv_outsw:
cat68701_outsw
,
mv_outsl:
cat68701_outsl
,
.
mv_insb
=
cat68701_insb
,
.
mv_insw
=
cat68701_insw
,
.
mv_insl
=
cat68701_insl
,
.
mv_outsb
=
cat68701_outsb
,
.
mv_outsw
=
cat68701_outsw
,
.
mv_outsl
=
cat68701_outsl
,
mv_readb:
cat68701_readb
,
mv_readw:
cat68701_readw
,
mv_readl:
cat68701_readl
,
mv_writeb:
cat68701_writeb
,
mv_writew:
cat68701_writew
,
mv_writel:
cat68701_writel
,
.
mv_readb
=
cat68701_readb
,
.
mv_readw
=
cat68701_readw
,
.
mv_readl
=
cat68701_readl
,
.
mv_writeb
=
cat68701_writeb
,
.
mv_writew
=
cat68701_writew
,
.
mv_writel
=
cat68701_writel
,
mv_ioremap:
cat68701_ioremap
,
mv_iounmap:
cat68701_iounmap
,
.
mv_ioremap
=
cat68701_ioremap
,
.
mv_iounmap
=
cat68701_iounmap
,
mv_isa_port2addr:
cat68701_isa_port2addr
,
mv_irq_demux:
cat68701_irq_demux
,
.
mv_isa_port2addr
=
cat68701_isa_port2addr
,
.
mv_irq_demux
=
cat68701_irq_demux
,
mv_init_arch:
setup_cat68701
,
mv_init_irq:
init_cat68701_IRQ
,
.
mv_init_arch
=
setup_cat68701
,
.
mv_init_irq
=
init_cat68701_IRQ
,
#ifdef CONFIG_HEARTBEAT
mv_heartbeat:
heartbeat_cat68701
,
.
mv_heartbeat
=
heartbeat_cat68701
,
#endif
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
};
ALIAS_MV
(
cat68701
)
arch/sh/kernel/mach_dc.c
View file @
431121f4
...
...
@@ -26,48 +26,48 @@ int aica_rtc_settimeofday(const struct timeval *tv);
*/
struct
sh_machine_vector
mv_dreamcast
__initmv
=
{
mv_name:
"dreamcast"
,
mv_nr_irqs:
NR_IRQS
,
mv_inb:
generic_inb
,
mv_inw:
generic_inw
,
mv_inl:
generic_inl
,
mv_outb:
generic_outb
,
mv_outw:
generic_outw
,
mv_outl:
generic_outl
,
mv_inb_p:
generic_inb_p
,
mv_inw_p:
generic_inw
,
mv_inl_p:
generic_inl
,
mv_outb_p:
generic_outb_p
,
mv_outw_p:
generic_outw
,
mv_outl_p:
generic_outl
,
mv_insb:
generic_insb
,
mv_insw:
generic_insw
,
mv_insl:
generic_insl
,
mv_outsb:
generic_outsb
,
mv_outsw:
generic_outsw
,
mv_outsl:
generic_outsl
,
mv_readb:
generic_readb
,
mv_readw:
generic_readw
,
mv_readl:
generic_readl
,
mv_writeb:
generic_writeb
,
mv_writew:
generic_writew
,
mv_writel:
generic_writel
,
mv_ioremap:
generic_ioremap
,
mv_iounmap:
generic_iounmap
,
mv_init_arch:
setup_dreamcast
,
mv_isa_port2addr:
dreamcast_isa_port2addr
,
mv_irq_demux:
systemasic_irq_demux
,
mv_rtc_gettimeofday:
aica_rtc_gettimeofday
,
mv_rtc_settimeofday:
aica_rtc_settimeofday
,
mv_hw_dreamcast:
1
,
.
mv_name
=
"dreamcast"
,
.
mv_nr_irqs
=
NR_IRQS
,
.
mv_inb
=
generic_inb
,
.
mv_inw
=
generic_inw
,
.
mv_inl
=
generic_inl
,
.
mv_outb
=
generic_outb
,
.
mv_outw
=
generic_outw
,
.
mv_outl
=
generic_outl
,
.
mv_inb_p
=
generic_inb_p
,
.
mv_inw_p
=
generic_inw
,
.
mv_inl_p
=
generic_inl
,
.
mv_outb_p
=
generic_outb_p
,
.
mv_outw_p
=
generic_outw
,
.
mv_outl_p
=
generic_outl
,
.
mv_insb
=
generic_insb
,
.
mv_insw
=
generic_insw
,
.
mv_insl
=
generic_insl
,
.
mv_outsb
=
generic_outsb
,
.
mv_outsw
=
generic_outsw
,
.
mv_outsl
=
generic_outsl
,
.
mv_readb
=
generic_readb
,
.
mv_readw
=
generic_readw
,
.
mv_readl
=
generic_readl
,
.
mv_writeb
=
generic_writeb
,
.
mv_writew
=
generic_writew
,
.
mv_writel
=
generic_writel
,
.
mv_ioremap
=
generic_ioremap
,
.
mv_iounmap
=
generic_iounmap
,
.
mv_init_arch
=
setup_dreamcast
,
.
mv_isa_port2addr
=
dreamcast_isa_port2addr
,
.
mv_irq_demux
=
systemasic_irq_demux
,
.
mv_rtc_gettimeofday
=
aica_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
aica_rtc_settimeofday
,
.
mv_hw_dreamcast
=
1
,
};
ALIAS_MV
(
dreamcast
)
arch/sh/kernel/mach_dmida.c
View file @
431121f4
...
...
@@ -30,44 +30,44 @@
*/
struct
sh_machine_vector
mv_dmida
__initmv
=
{
mv_name:
"DMIDA"
,
.
mv_name
=
"DMIDA"
,
mv_nr_irqs:
HD64465_IRQ_BASE
+
HD64465_IRQ_NUM
,
.
mv_nr_irqs
=
HD64465_IRQ_BASE
+
HD64465_IRQ_NUM
,
mv_inb:
hd64465_inb
,
mv_inw:
hd64465_inw
,
mv_inl:
hd64465_inl
,
mv_outb:
hd64465_outb
,
mv_outw:
hd64465_outw
,
mv_outl:
hd64465_outl
,
.
mv_inb
=
hd64465_inb
,
.
mv_inw
=
hd64465_inw
,
.
mv_inl
=
hd64465_inl
,
.
mv_outb
=
hd64465_outb
,
.
mv_outw
=
hd64465_outw
,
.
mv_outl
=
hd64465_outl
,
mv_inb_p:
hd64465_inb_p
,
mv_inw_p:
hd64465_inw
,
mv_inl_p:
hd64465_inl
,
mv_outb_p:
hd64465_outb_p
,
mv_outw_p:
hd64465_outw
,
mv_outl_p:
hd64465_outl
,
.
mv_inb_p
=
hd64465_inb_p
,
.
mv_inw_p
=
hd64465_inw
,
.
mv_inl_p
=
hd64465_inl
,
.
mv_outb_p
=
hd64465_outb_p
,
.
mv_outw_p
=
hd64465_outw
,
.
mv_outl_p
=
hd64465_outl
,
mv_insb:
hd64465_insb
,
mv_insw:
hd64465_insw
,
mv_insl:
hd64465_insl
,
mv_outsb:
hd64465_outsb
,
mv_outsw:
hd64465_outsw
,
mv_outsl:
hd64465_outsl
,
.
mv_insb
=
hd64465_insb
,
.
mv_insw
=
hd64465_insw
,
.
mv_insl
=
hd64465_insl
,
.
mv_outsb
=
hd64465_outsb
,
.
mv_outsw
=
hd64465_outsw
,
.
mv_outsl
=
hd64465_outsl
,
mv_readb:
generic_readb
,
mv_readw:
generic_readw
,
mv_readl:
generic_readl
,
mv_writeb:
generic_writeb
,
mv_writew:
generic_writew
,
mv_writel:
generic_writel
,
.
mv_readb
=
generic_readb
,
.
mv_readw
=
generic_readw
,
.
mv_readl
=
generic_readl
,
.
mv_writeb
=
generic_writeb
,
.
mv_writew
=
generic_writew
,
.
mv_writel
=
generic_writel
,
mv_irq_demux:
hd64465_irq_demux
,
.
mv_irq_demux
=
hd64465_irq_demux
,
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
mv_hw_hd64465:
1
,
.
mv_hw_hd64465
=
1
,
};
ALIAS_MV
(
dmida
)
arch/sh/kernel/mach_ec3104.c
View file @
431121f4
...
...
@@ -28,42 +28,42 @@
*/
struct
sh_machine_vector
mv_ec3104
__initmv
=
{
mv_name:
"EC3104"
,
.
mv_name
=
"EC3104"
,
mv_nr_irqs:
96
,
.
mv_nr_irqs
=
96
,
mv_inb:
ec3104_inb
,
mv_inw:
ec3104_inw
,
mv_inl:
ec3104_inl
,
mv_outb:
ec3104_outb
,
mv_outw:
ec3104_outw
,
mv_outl:
ec3104_outl
,
.
mv_inb
=
ec3104_inb
,
.
mv_inw
=
ec3104_inw
,
.
mv_inl
=
ec3104_inl
,
.
mv_outb
=
ec3104_outb
,
.
mv_outw
=
ec3104_outw
,
.
mv_outl
=
ec3104_outl
,
mv_inb_p:
generic_inb_p
,
mv_inw_p:
generic_inw
,
mv_inl_p:
generic_inl
,
mv_outb_p:
generic_outb_p
,
mv_outw_p:
generic_outw
,
mv_outl_p:
generic_outl
,
.
mv_inb_p
=
generic_inb_p
,
.
mv_inw_p
=
generic_inw
,
.
mv_inl_p
=
generic_inl
,
.
mv_outb_p
=
generic_outb_p
,
.
mv_outw_p
=
generic_outw
,
.
mv_outl_p
=
generic_outl
,
mv_insb:
generic_insb
,
mv_insw:
generic_insw
,
mv_insl:
generic_insl
,
mv_outsb:
generic_outsb
,
mv_outsw:
generic_outsw
,
mv_outsl:
generic_outsl
,
.
mv_insb
=
generic_insb
,
.
mv_insw
=
generic_insw
,
.
mv_insl
=
generic_insl
,
.
mv_outsb
=
generic_outsb
,
.
mv_outsw
=
generic_outsw
,
.
mv_outsl
=
generic_outsl
,
mv_readb:
generic_readb
,
mv_readw:
generic_readw
,
mv_readl:
generic_readl
,
mv_writeb:
generic_writeb
,
mv_writew:
generic_writew
,
mv_writel:
generic_writel
,
.
mv_readb
=
generic_readb
,
.
mv_readw
=
generic_readw
,
.
mv_readl
=
generic_readl
,
.
mv_writeb
=
generic_writeb
,
.
mv_writew
=
generic_writew
,
.
mv_writel
=
generic_writel
,
mv_irq_demux:
ec3104_irq_demux
,
.
mv_irq_demux
=
ec3104_irq_demux
,
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
};
ALIAS_MV
(
ec3104
)
arch/sh/kernel/mach_hp600.c
View file @
431121f4
...
...
@@ -24,135 +24,135 @@
*/
struct
sh_machine_vector
mv_hp620
__initmv
=
{
mv_name:
"hp620"
,
mv_nr_irqs:
HD64461_IRQBASE
+
HD64461_IRQ_NUM
,
mv_inb:
hd64461_inb
,
mv_inw:
hd64461_inw
,
mv_inl:
hd64461_inl
,
mv_outb:
hd64461_outb
,
mv_outw:
hd64461_outw
,
mv_outl:
hd64461_outl
,
mv_inb_p:
hd64461_inb_p
,
mv_inw_p:
hd64461_inw
,
mv_inl_p:
hd64461_inl
,
mv_outb_p:
hd64461_outb_p
,
mv_outw_p:
hd64461_outw
,
mv_outl_p:
hd64461_outl
,
mv_insb:
hd64461_insb
,
mv_insw:
hd64461_insw
,
mv_insl:
hd64461_insl
,
mv_outsb:
hd64461_outsb
,
mv_outsw:
hd64461_outsw
,
mv_outsl:
hd64461_outsl
,
mv_readb:
generic_readb
,
mv_readw:
generic_readw
,
mv_readl:
generic_readl
,
mv_writeb:
generic_writeb
,
mv_writew:
generic_writew
,
mv_writel:
generic_writel
,
mv_irq_demux:
hd64461_irq_demux
,
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
mv_hw_hp600:
1
,
mv_hw_hp620:
1
,
mv_hw_hd64461:
1
,
.
mv_name
=
"hp620"
,
.
mv_nr_irqs
=
HD64461_IRQBASE
+
HD64461_IRQ_NUM
,
.
mv_inb
=
hd64461_inb
,
.
mv_inw
=
hd64461_inw
,
.
mv_inl
=
hd64461_inl
,
.
mv_outb
=
hd64461_outb
,
.
mv_outw
=
hd64461_outw
,
.
mv_outl
=
hd64461_outl
,
.
mv_inb_p
=
hd64461_inb_p
,
.
mv_inw_p
=
hd64461_inw
,
.
mv_inl_p
=
hd64461_inl
,
.
mv_outb_p
=
hd64461_outb_p
,
.
mv_outw_p
=
hd64461_outw
,
.
mv_outl_p
=
hd64461_outl
,
.
mv_insb
=
hd64461_insb
,
.
mv_insw
=
hd64461_insw
,
.
mv_insl
=
hd64461_insl
,
.
mv_outsb
=
hd64461_outsb
,
.
mv_outsw
=
hd64461_outsw
,
.
mv_outsl
=
hd64461_outsl
,
.
mv_readb
=
generic_readb
,
.
mv_readw
=
generic_readw
,
.
mv_readl
=
generic_readl
,
.
mv_writeb
=
generic_writeb
,
.
mv_writew
=
generic_writew
,
.
mv_writel
=
generic_writel
,
.
mv_irq_demux
=
hd64461_irq_demux
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
.
mv_hw_hp600
=
1
,
.
mv_hw_hp620
=
1
,
.
mv_hw_hd64461
=
1
,
};
ALIAS_MV
(
hp620
)
struct
sh_machine_vector
mv_hp680
__initmv
=
{
mv_name:
"hp680"
,
mv_nr_irqs:
HD64461_IRQBASE
+
HD64461_IRQ_NUM
,
mv_inb:
hd64461_inb
,
mv_inw:
hd64461_inw
,
mv_inl:
hd64461_inl
,
mv_outb:
hd64461_outb
,
mv_outw:
hd64461_outw
,
mv_outl:
hd64461_outl
,
mv_inb_p:
hd64461_inb_p
,
mv_inw_p:
hd64461_inw
,
mv_inl_p:
hd64461_inl
,
mv_outb_p:
hd64461_outb_p
,
mv_outw_p:
hd64461_outw
,
mv_outl_p:
hd64461_outl
,
mv_insb:
hd64461_insb
,
mv_insw:
hd64461_insw
,
mv_insl:
hd64461_insl
,
mv_outsb:
hd64461_outsb
,
mv_outsw:
hd64461_outsw
,
mv_outsl:
hd64461_outsl
,
mv_readb:
generic_readb
,
mv_readw:
generic_readw
,
mv_readl:
generic_readl
,
mv_writeb:
generic_writeb
,
mv_writew:
generic_writew
,
mv_writel:
generic_writel
,
mv_irq_demux:
hd64461_irq_demux
,
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
mv_hw_hp600:
1
,
mv_hw_hp680:
1
,
mv_hw_hd64461:
1
,
.
mv_name
=
"hp680"
,
.
mv_nr_irqs
=
HD64461_IRQBASE
+
HD64461_IRQ_NUM
,
.
mv_inb
=
hd64461_inb
,
.
mv_inw
=
hd64461_inw
,
.
mv_inl
=
hd64461_inl
,
.
mv_outb
=
hd64461_outb
,
.
mv_outw
=
hd64461_outw
,
.
mv_outl
=
hd64461_outl
,
.
mv_inb_p
=
hd64461_inb_p
,
.
mv_inw_p
=
hd64461_inw
,
.
mv_inl_p
=
hd64461_inl
,
.
mv_outb_p
=
hd64461_outb_p
,
.
mv_outw_p
=
hd64461_outw
,
.
mv_outl_p
=
hd64461_outl
,
.
mv_insb
=
hd64461_insb
,
.
mv_insw
=
hd64461_insw
,
.
mv_insl
=
hd64461_insl
,
.
mv_outsb
=
hd64461_outsb
,
.
mv_outsw
=
hd64461_outsw
,
.
mv_outsl
=
hd64461_outsl
,
.
mv_readb
=
generic_readb
,
.
mv_readw
=
generic_readw
,
.
mv_readl
=
generic_readl
,
.
mv_writeb
=
generic_writeb
,
.
mv_writew
=
generic_writew
,
.
mv_writel
=
generic_writel
,
.
mv_irq_demux
=
hd64461_irq_demux
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
.
mv_hw_hp600
=
1
,
.
mv_hw_hp680
=
1
,
.
mv_hw_hd64461
=
1
,
};
ALIAS_MV
(
hp680
)
struct
sh_machine_vector
mv_hp690
__initmv
=
{
mv_name:
"hp690"
,
mv_nr_irqs:
HD64461_IRQBASE
+
HD64461_IRQ_NUM
,
mv_inb:
hd64461_inb
,
mv_inw:
hd64461_inw
,
mv_inl:
hd64461_inl
,
mv_outb:
hd64461_outb
,
mv_outw:
hd64461_outw
,
mv_outl:
hd64461_outl
,
mv_inb_p:
hd64461_inb_p
,
mv_inw_p:
hd64461_inw
,
mv_inl_p:
hd64461_inl
,
mv_outb_p:
hd64461_outb_p
,
mv_outw_p:
hd64461_outw
,
mv_outl_p:
hd64461_outl
,
mv_insb:
hd64461_insb
,
mv_insw:
hd64461_insw
,
mv_insl:
hd64461_insl
,
mv_outsb:
hd64461_outsb
,
mv_outsw:
hd64461_outsw
,
mv_outsl:
hd64461_outsl
,
mv_readb:
generic_readb
,
mv_readw:
generic_readw
,
mv_readl:
generic_readl
,
mv_writeb:
generic_writeb
,
mv_writew:
generic_writew
,
mv_writel:
generic_writel
,
mv_irq_demux:
hd64461_irq_demux
,
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
mv_hw_hp600:
1
,
mv_hw_hp690:
1
,
mv_hw_hd64461:
1
,
.
mv_name
=
"hp690"
,
.
mv_nr_irqs
=
HD64461_IRQBASE
+
HD64461_IRQ_NUM
,
.
mv_inb
=
hd64461_inb
,
.
mv_inw
=
hd64461_inw
,
.
mv_inl
=
hd64461_inl
,
.
mv_outb
=
hd64461_outb
,
.
mv_outw
=
hd64461_outw
,
.
mv_outl
=
hd64461_outl
,
.
mv_inb_p
=
hd64461_inb_p
,
.
mv_inw_p
=
hd64461_inw
,
.
mv_inl_p
=
hd64461_inl
,
.
mv_outb_p
=
hd64461_outb_p
,
.
mv_outw_p
=
hd64461_outw
,
.
mv_outl_p
=
hd64461_outl
,
.
mv_insb
=
hd64461_insb
,
.
mv_insw
=
hd64461_insw
,
.
mv_insl
=
hd64461_insl
,
.
mv_outsb
=
hd64461_outsb
,
.
mv_outsw
=
hd64461_outsw
,
.
mv_outsl
=
hd64461_outsl
,
.
mv_readb
=
generic_readb
,
.
mv_readw
=
generic_readw
,
.
mv_readl
=
generic_readl
,
.
mv_writeb
=
generic_writeb
,
.
mv_writew
=
generic_writew
,
.
mv_writel
=
generic_writel
,
.
mv_irq_demux
=
hd64461_irq_demux
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
.
mv_hw_hp600
=
1
,
.
mv_hw_hp690
=
1
,
.
mv_hw_hd64461
=
1
,
};
ALIAS_MV
(
hp690
)
arch/sh/kernel/mach_se.c
View file @
431121f4
...
...
@@ -27,58 +27,58 @@ void init_se_IRQ(void);
*/
struct
sh_machine_vector
mv_se
__initmv
=
{
mv_name:
"SolutionEngine"
,
.
mv_name
=
"SolutionEngine"
,
#if defined(__SH4__)
mv_nr_irqs:
48
,
.
mv_nr_irqs
=
48
,
#elif defined(CONFIG_CPU_SUBTYPE_SH7708)
mv_nr_irqs:
32
,
.
mv_nr_irqs
=
32
,
#elif defined(CONFIG_CPU_SUBTYPE_SH7709)
mv_nr_irqs:
61
,
.
mv_nr_irqs
=
61
,
#endif
mv_inb:
se_inb
,
mv_inw:
se_inw
,
mv_inl:
se_inl
,
mv_outb:
se_outb
,
mv_outw:
se_outw
,
mv_outl:
se_outl
,
mv_inb_p:
se_inb_p
,
mv_inw_p:
se_inw
,
mv_inl_p:
se_inl
,
mv_outb_p:
se_outb_p
,
mv_outw_p:
se_outw
,
mv_outl_p:
se_outl
,
mv_insb:
se_insb
,
mv_insw:
se_insw
,
mv_insl:
se_insl
,
mv_outsb:
se_outsb
,
mv_outsw:
se_outsw
,
mv_outsl:
se_outsl
,
mv_readb:
se_readb
,
mv_readw:
se_readw
,
mv_readl:
se_readl
,
mv_writeb:
se_writeb
,
mv_writew:
se_writew
,
mv_writel:
se_writel
,
mv_ioremap:
generic_ioremap
,
mv_iounmap:
generic_iounmap
,
mv_isa_port2addr:
se_isa_port2addr
,
mv_init_arch:
setup_se
,
mv_init_irq:
init_se_IRQ
,
.
mv_inb
=
se_inb
,
.
mv_inw
=
se_inw
,
.
mv_inl
=
se_inl
,
.
mv_outb
=
se_outb
,
.
mv_outw
=
se_outw
,
.
mv_outl
=
se_outl
,
.
mv_inb_p
=
se_inb_p
,
.
mv_inw_p
=
se_inw
,
.
mv_inl_p
=
se_inl
,
.
mv_outb_p
=
se_outb_p
,
.
mv_outw_p
=
se_outw
,
.
mv_outl_p
=
se_outl
,
.
mv_insb
=
se_insb
,
.
mv_insw
=
se_insw
,
.
mv_insl
=
se_insl
,
.
mv_outsb
=
se_outsb
,
.
mv_outsw
=
se_outsw
,
.
mv_outsl
=
se_outsl
,
.
mv_readb
=
se_readb
,
.
mv_readw
=
se_readw
,
.
mv_readl
=
se_readl
,
.
mv_writeb
=
se_writeb
,
.
mv_writew
=
se_writew
,
.
mv_writel
=
se_writel
,
.
mv_ioremap
=
generic_ioremap
,
.
mv_iounmap
=
generic_iounmap
,
.
mv_isa_port2addr
=
se_isa_port2addr
,
.
mv_init_arch
=
setup_se
,
.
mv_init_irq
=
init_se_IRQ
,
#ifdef CONFIG_HEARTBEAT
mv_heartbeat:
heartbeat_se
,
.
mv_heartbeat
=
heartbeat_se
,
#endif
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
mv_hw_se:
1
,
.
mv_hw_se
=
1
,
};
ALIAS_MV
(
se
)
arch/sh/kernel/mach_unknown.c
View file @
431121f4
...
...
@@ -23,50 +23,50 @@
*/
struct
sh_machine_vector
mv_unknown
__initmv
=
{
mv_name:
"Unknown"
,
.
mv_name
=
"Unknown"
,
#if defined(__SH4__)
mv_nr_irqs:
48
,
.
mv_nr_irqs
=
48
,
#elif defined(CONFIG_CPU_SUBTYPE_SH7708)
mv_nr_irqs:
32
,
.
mv_nr_irqs
=
32
,
#elif defined(CONFIG_CPU_SUBTYPE_SH7709)
mv_nr_irqs:
61
,
.
mv_nr_irqs
=
61
,
#endif
mv_inb:
unknown_inb
,
mv_inw:
unknown_inw
,
mv_inl:
unknown_inl
,
mv_outb:
unknown_outb
,
mv_outw:
unknown_outw
,
mv_outl:
unknown_outl
,
.
mv_inb
=
unknown_inb
,
.
mv_inw
=
unknown_inw
,
.
mv_inl
=
unknown_inl
,
.
mv_outb
=
unknown_outb
,
.
mv_outw
=
unknown_outw
,
.
mv_outl
=
unknown_outl
,
mv_inb_p:
unknown_inb_p
,
mv_inw_p:
unknown_inw_p
,
mv_inl_p:
unknown_inl_p
,
mv_outb_p:
unknown_outb_p
,
mv_outw_p:
unknown_outw_p
,
mv_outl_p:
unknown_outl_p
,
.
mv_inb_p
=
unknown_inb_p
,
.
mv_inw_p
=
unknown_inw_p
,
.
mv_inl_p
=
unknown_inl_p
,
.
mv_outb_p
=
unknown_outb_p
,
.
mv_outw_p
=
unknown_outw_p
,
.
mv_outl_p
=
unknown_outl_p
,
mv_insb:
unknown_insb
,
mv_insw:
unknown_insw
,
mv_insl:
unknown_insl
,
mv_outsb:
unknown_outsb
,
mv_outsw:
unknown_outsw
,
mv_outsl:
unknown_outsl
,
.
mv_insb
=
unknown_insb
,
.
mv_insw
=
unknown_insw
,
.
mv_insl
=
unknown_insl
,
.
mv_outsb
=
unknown_outsb
,
.
mv_outsw
=
unknown_outsw
,
.
mv_outsl
=
unknown_outsl
,
mv_readb:
unknown_readb
,
mv_readw:
unknown_readw
,
mv_readl:
unknown_readl
,
mv_writeb:
unknown_writeb
,
mv_writew:
unknown_writew
,
mv_writel:
unknown_writel
,
.
mv_readb
=
unknown_readb
,
.
mv_readw
=
unknown_readw
,
.
mv_readl
=
unknown_readl
,
.
mv_writeb
=
unknown_writeb
,
.
mv_writew
=
unknown_writew
,
.
mv_writel
=
unknown_writel
,
mv_ioremap:
unknown_ioremap
,
mv_iounmap:
unknown_iounmap
,
.
mv_ioremap
=
unknown_ioremap
,
.
mv_iounmap
=
unknown_iounmap
,
mv_isa_port2addr:
unknown_isa_port2addr
,
.
mv_isa_port2addr
=
unknown_isa_port2addr
,
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
};
ALIAS_MV
(
unknown
)
arch/sh/kernel/setup.c
View file @
431121f4
...
...
@@ -171,12 +171,12 @@ static int __init sh_console_setup(struct console *co, char *options)
}
static
struct
console
sh_console
=
{
name:
"bios"
,
write:
sh_console_write
,
device:
sh_console_device
,
setup:
sh_console_setup
,
flags:
CON_PRINTBUFFER
,
index:
-
1
,
.
name
=
"bios"
,
.
write
=
sh_console_write
,
.
device
=
sh_console_device
,
.
setup
=
sh_console_setup
,
.
flags
=
CON_PRINTBUFFER
,
.
index
=
-
1
,
};
void
sh_console_init
(
void
)
...
...
@@ -548,9 +548,9 @@ static void c_stop(struct seq_file *m, void *v)
{
}
struct
seq_operations
cpuinfo_op
=
{
start:
c_start
,
next:
c_next
,
stop:
c_stop
,
show:
show_cpuinfo
,
.
start
=
c_start
,
.
next
=
c_next
,
.
stop
=
c_stop
,
.
show
=
show_cpuinfo
,
};
#endif
arch/sh/kernel/setup_cqreek.c
View file @
431121f4
...
...
@@ -200,53 +200,53 @@ void __init setup_cqreek(void)
*/
struct
sh_machine_vector
mv_cqreek
__initmv
=
{
mv_name:
"CqREEK"
,
.
mv_name
=
"CqREEK"
,
#if defined(__SH4__)
mv_nr_irqs:
48
,
.
mv_nr_irqs
=
48
,
#elif defined(CONFIG_CPU_SUBTYPE_SH7708)
mv_nr_irqs:
32
,
.
mv_nr_irqs
=
32
,
#elif defined(CONFIG_CPU_SUBTYPE_SH7709)
mv_nr_irqs:
61
,
.
mv_nr_irqs
=
61
,
#endif
mv_inb:
generic_inb
,
mv_inw:
generic_inw
,
mv_inl:
generic_inl
,
mv_outb:
generic_outb
,
mv_outw:
generic_outw
,
mv_outl:
generic_outl
,
mv_inb_p:
generic_inb_p
,
mv_inw_p:
generic_inw_p
,
mv_inl_p:
generic_inl_p
,
mv_outb_p:
generic_outb_p
,
mv_outw_p:
generic_outw_p
,
mv_outl_p:
generic_outl_p
,
mv_insb:
generic_insb
,
mv_insw:
generic_insw
,
mv_insl:
generic_insl
,
mv_outsb:
generic_outsb
,
mv_outsw:
generic_outsw
,
mv_outsl:
generic_outsl
,
mv_readb:
generic_readb
,
mv_readw:
generic_readw
,
mv_readl:
generic_readl
,
mv_writeb:
generic_writeb
,
mv_writew:
generic_writew
,
mv_writel:
generic_writel
,
mv_init_arch:
setup_cqreek
,
mv_init_irq:
init_cqreek_IRQ
,
mv_isa_port2addr:
cqreek_port2addr
,
mv_ioremap:
generic_ioremap
,
mv_iounmap:
generic_iounmap
,
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
.
mv_inb
=
generic_inb
,
.
mv_inw
=
generic_inw
,
.
mv_inl
=
generic_inl
,
.
mv_outb
=
generic_outb
,
.
mv_outw
=
generic_outw
,
.
mv_outl
=
generic_outl
,
.
mv_inb_p
=
generic_inb_p
,
.
mv_inw_p
=
generic_inw_p
,
.
mv_inl_p
=
generic_inl_p
,
.
mv_outb_p
=
generic_outb_p
,
.
mv_outw_p
=
generic_outw_p
,
.
mv_outl_p
=
generic_outl_p
,
.
mv_insb
=
generic_insb
,
.
mv_insw
=
generic_insw
,
.
mv_insl
=
generic_insl
,
.
mv_outsb
=
generic_outsb
,
.
mv_outsw
=
generic_outsw
,
.
mv_outsl
=
generic_outsl
,
.
mv_readb
=
generic_readb
,
.
mv_readw
=
generic_readw
,
.
mv_readl
=
generic_readl
,
.
mv_writeb
=
generic_writeb
,
.
mv_writew
=
generic_writew
,
.
mv_writel
=
generic_writel
,
.
mv_init_arch
=
setup_cqreek
,
.
mv_init_irq
=
init_cqreek_IRQ
,
.
mv_isa_port2addr
=
cqreek_port2addr
,
.
mv_ioremap
=
generic_ioremap
,
.
mv_iounmap
=
generic_iounmap
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
};
ALIAS_MV
(
cqreek
)
arch/sh/kernel/setup_dc.c
View file @
431121f4
...
...
@@ -123,13 +123,13 @@ static void shutdown_systemasic_irq(unsigned int irq)
}
static
struct
hw_interrupt_type
systemasic_int
=
{
typename:
"System ASIC"
,
startup:
startup_systemasic_irq
,
shutdown:
shutdown_systemasic_irq
,
enable:
enable_systemasic_irq
,
disable:
disable_systemasic_irq
,
ack:
ack_systemasic_irq
,
end:
end_systemasic_irq
,
.
typename
=
"System ASIC"
,
.
startup
=
startup_systemasic_irq
,
.
shutdown
=
shutdown_systemasic_irq
,
.
enable
=
enable_systemasic_irq
,
.
disable
=
disable_systemasic_irq
,
.
ack
=
ack_systemasic_irq
,
.
end
=
end_systemasic_irq
,
};
/*
...
...
arch/sh/kernel/setup_ec3104.c
View file @
431121f4
...
...
@@ -185,13 +185,13 @@ static void shutdown_ec3104_irq(unsigned int irq)
}
static
struct
hw_interrupt_type
ec3104_int
=
{
typename:
"EC3104"
,
enable:
enable_ec3104_irq
,
disable:
disable_ec3104_irq
,
ack:
mask_and_ack_ec3104_irq
,
end:
end_ec3104_irq
,
startup:
startup_ec3104_irq
,
shutdown:
shutdown_ec3104_irq
,
.
typename
=
"EC3104"
,
.
enable
=
enable_ec3104_irq
,
.
disable
=
disable_ec3104_irq
,
.
ack
=
mask_and_ack_ec3104_irq
,
.
end
=
end_ec3104_irq
,
.
startup
=
startup_ec3104_irq
,
.
shutdown
=
shutdown_ec3104_irq
,
};
/* Yuck. the _demux API is ugly */
...
...
arch/sh/kernel/setup_hd64465.c
View file @
431121f4
...
...
@@ -89,13 +89,13 @@ static void shutdown_hd64465_irq(unsigned int irq)
static
struct
hw_interrupt_type
hd64465_irq_type
=
{
typename:
"HD64465-IRQ"
,
startup:
startup_hd64465_irq
,
shutdown:
shutdown_hd64465_irq
,
enable:
enable_hd64465_irq
,
disable:
disable_hd64465_irq
,
ack:
mask_and_ack_hd64465
,
end:
end_hd64465_irq
.
typename
=
"HD64465-IRQ"
,
.
startup
=
startup_hd64465_irq
,
.
shutdown
=
shutdown_hd64465_irq
,
.
enable
=
enable_hd64465_irq
,
.
disable
=
disable_hd64465_irq
,
.
ack
=
mask_and_ack_hd64465
,
.
end
=
end_hd64465_irq
};
...
...
arch/sh/kernel/setup_sh2000.c
View file @
431121f4
...
...
@@ -48,48 +48,48 @@ int __init setup_sh2000(void)
*/
struct
sh_machine_vector
mv_sh2000
__initmv
=
{
mv_name:
"sh2000"
,
.
mv_name
=
"sh2000"
,
mv_nr_irqs:
80
,
.
mv_nr_irqs
=
80
,
mv_inb:
generic_inb
,
mv_inw:
generic_inw
,
mv_inl:
generic_inl
,
mv_outb:
generic_outb
,
mv_outw:
generic_outw
,
mv_outl:
generic_outl
,
.
mv_inb
=
generic_inb
,
.
mv_inw
=
generic_inw
,
.
mv_inl
=
generic_inl
,
.
mv_outb
=
generic_outb
,
.
mv_outw
=
generic_outw
,
.
mv_outl
=
generic_outl
,
mv_inb_p:
generic_inb_p
,
mv_inw_p:
generic_inw_p
,
mv_inl_p:
generic_inl_p
,
mv_outb_p:
generic_outb_p
,
mv_outw_p:
generic_outw_p
,
mv_outl_p:
generic_outl_p
,
.
mv_inb_p
=
generic_inb_p
,
.
mv_inw_p
=
generic_inw_p
,
.
mv_inl_p
=
generic_inl_p
,
.
mv_outb_p
=
generic_outb_p
,
.
mv_outw_p
=
generic_outw_p
,
.
mv_outl_p
=
generic_outl_p
,
mv_insb:
generic_insb
,
mv_insw:
generic_insw
,
mv_insl:
generic_insl
,
mv_outsb:
generic_outsb
,
mv_outsw:
generic_outsw
,
mv_outsl:
generic_outsl
,
.
mv_insb
=
generic_insb
,
.
mv_insw
=
generic_insw
,
.
mv_insl
=
generic_insl
,
.
mv_outsb
=
generic_outsb
,
.
mv_outsw
=
generic_outsw
,
.
mv_outsl
=
generic_outsl
,
mv_readb:
generic_readb
,
mv_readw:
generic_readw
,
mv_readl:
generic_readl
,
mv_writeb:
generic_writeb
,
mv_writew:
generic_writew
,
mv_writel:
generic_writel
,
.
mv_readb
=
generic_readb
,
.
mv_readw
=
generic_readw
,
.
mv_readl
=
generic_readl
,
.
mv_writeb
=
generic_writeb
,
.
mv_writew
=
generic_writew
,
.
mv_writel
=
generic_writel
,
mv_init_arch:
setup_sh2000
,
.
mv_init_arch
=
setup_sh2000
,
mv_isa_port2addr:
sh2000_isa_port2addr
,
.
mv_isa_port2addr
=
sh2000_isa_port2addr
,
mv_ioremap:
generic_ioremap
,
mv_iounmap:
generic_iounmap
,
.
mv_ioremap
=
generic_ioremap
,
.
mv_iounmap
=
generic_iounmap
,
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
mv_hw_sh2000:
1
,
.
mv_hw_sh2000
=
1
,
};
ALIAS_MV
(
sh2000
)
arch/sh/stboards/mach.c
View file @
431121f4
...
...
@@ -26,52 +26,52 @@ void heartbeat_harp(void);
*/
struct
sh_machine_vector
mv_harp
__initmv
=
{
mv_name:
"STB1 Harp"
,
.
mv_name
=
"STB1 Harp"
,
mv_nr_irqs:
89
+
HD64465_IRQ_NUM
,
.
mv_nr_irqs
=
89
+
HD64465_IRQ_NUM
,
mv_inb:
hd64465_inb
,
mv_inw:
hd64465_inw
,
mv_inl:
hd64465_inl
,
mv_outb:
hd64465_outb
,
mv_outw:
hd64465_outw
,
mv_outl:
hd64465_outl
,
.
mv_inb
=
hd64465_inb
,
.
mv_inw
=
hd64465_inw
,
.
mv_inl
=
hd64465_inl
,
.
mv_outb
=
hd64465_outb
,
.
mv_outw
=
hd64465_outw
,
.
mv_outl
=
hd64465_outl
,
mv_inb_p:
hd64465_inb_p
,
mv_inw_p:
hd64465_inw
,
mv_inl_p:
hd64465_inl
,
mv_outb_p:
hd64465_outb_p
,
mv_outw_p:
hd64465_outw
,
mv_outl_p:
hd64465_outl
,
.
mv_inb_p
=
hd64465_inb_p
,
.
mv_inw_p
=
hd64465_inw
,
.
mv_inl_p
=
hd64465_inl
,
.
mv_outb_p
=
hd64465_outb_p
,
.
mv_outw_p
=
hd64465_outw
,
.
mv_outl_p
=
hd64465_outl
,
mv_insb:
hd64465_insb
,
mv_insw:
hd64465_insw
,
mv_insl:
hd64465_insl
,
mv_outsb:
hd64465_outsb
,
mv_outsw:
hd64465_outsw
,
mv_outsl:
hd64465_outsl
,
.
mv_insb
=
hd64465_insb
,
.
mv_insw
=
hd64465_insw
,
.
mv_insl
=
hd64465_insl
,
.
mv_outsb
=
hd64465_outsb
,
.
mv_outsw
=
hd64465_outsw
,
.
mv_outsl
=
hd64465_outsl
,
mv_readb:
generic_readb
,
mv_readw:
generic_readw
,
mv_readl:
generic_readl
,
mv_writeb:
generic_writeb
,
mv_writew:
generic_writew
,
mv_writel:
generic_writel
,
.
mv_readb
=
generic_readb
,
.
mv_readw
=
generic_readw
,
.
mv_readl
=
generic_readl
,
.
mv_writeb
=
generic_writeb
,
.
mv_writew
=
generic_writew
,
.
mv_writel
=
generic_writel
,
mv_ioremap:
generic_ioremap
,
mv_iounmap:
generic_iounmap
,
.
mv_ioremap
=
generic_ioremap
,
.
mv_iounmap
=
generic_iounmap
,
mv_isa_port2addr:
hd64465_isa_port2addr
,
.
mv_isa_port2addr
=
hd64465_isa_port2addr
,
mv_init_arch:
setup_harp
,
.
mv_init_arch
=
setup_harp
,
#ifdef CONFIG_PCI
mv_init_irq:
init_harp_irq
,
.
mv_init_irq
=
init_harp_irq
,
#endif
#ifdef CONFIG_HEARTBEAT
mv_heartbeat:
heartbeat_harp
,
.
mv_heartbeat
=
heartbeat_harp
,
#endif
mv_rtc_gettimeofday:
sh_rtc_gettimeofday
,
mv_rtc_settimeofday:
sh_rtc_settimeofday
,
.
mv_rtc_gettimeofday
=
sh_rtc_gettimeofday
,
.
mv_rtc_settimeofday
=
sh_rtc_settimeofday
,
};
ALIAS_MV
(
harp
)
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