aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/sni/rm200.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/sni/rm200.c')
-rw-r--r--arch/mips/sni/rm200.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/arch/mips/sni/rm200.c b/arch/mips/sni/rm200.c
index 3ab5b5d25b0a..a046b302623e 100644
--- a/arch/mips/sni/rm200.c
+++ b/arch/mips/sni/rm200.c
@@ -48,17 +48,17 @@ static struct platform_device rm200_serial8250_device = {
48}; 48};
49 49
50static struct resource rm200_ds1216_rsrc[] = { 50static struct resource rm200_ds1216_rsrc[] = {
51 { 51 {
52 .start = 0x1cd41ffc, 52 .start = 0x1cd41ffc,
53 .end = 0x1cd41fff, 53 .end = 0x1cd41fff,
54 .flags = IORESOURCE_MEM 54 .flags = IORESOURCE_MEM
55 } 55 }
56}; 56};
57 57
58static struct platform_device rm200_ds1216_device = { 58static struct platform_device rm200_ds1216_device = {
59 .name = "rtc-ds1216", 59 .name = "rtc-ds1216",
60 .num_resources = ARRAY_SIZE(rm200_ds1216_rsrc), 60 .num_resources = ARRAY_SIZE(rm200_ds1216_rsrc),
61 .resource = rm200_ds1216_rsrc 61 .resource = rm200_ds1216_rsrc
62}; 62};
63 63
64static struct resource snirm_82596_rm200_rsrc[] = { 64static struct resource snirm_82596_rm200_rsrc[] = {
@@ -88,9 +88,9 @@ static struct resource snirm_82596_rm200_rsrc[] = {
88}; 88};
89 89
90static struct platform_device snirm_82596_rm200_pdev = { 90static struct platform_device snirm_82596_rm200_pdev = {
91 .name = "snirm_82596", 91 .name = "snirm_82596",
92 .num_resources = ARRAY_SIZE(snirm_82596_rm200_rsrc), 92 .num_resources = ARRAY_SIZE(snirm_82596_rm200_rsrc),
93 .resource = snirm_82596_rm200_rsrc 93 .resource = snirm_82596_rm200_rsrc
94}; 94};
95 95
96static struct resource snirm_53c710_rm200_rsrc[] = { 96static struct resource snirm_53c710_rm200_rsrc[] = {
@@ -107,9 +107,9 @@ static struct resource snirm_53c710_rm200_rsrc[] = {
107}; 107};
108 108
109static struct platform_device snirm_53c710_rm200_pdev = { 109static struct platform_device snirm_53c710_rm200_pdev = {
110 .name = "snirm_53c710", 110 .name = "snirm_53c710",
111 .num_resources = ARRAY_SIZE(snirm_53c710_rm200_rsrc), 111 .num_resources = ARRAY_SIZE(snirm_53c710_rm200_rsrc),
112 .resource = snirm_53c710_rm200_rsrc 112 .resource = snirm_53c710_rm200_rsrc
113}; 113};
114 114
115static int __init snirm_setup_devinit(void) 115static int __init snirm_setup_devinit(void)
@@ -134,9 +134,9 @@ device_initcall(snirm_setup_devinit);
134 */ 134 */
135 135
136static DEFINE_RAW_SPINLOCK(sni_rm200_i8259A_lock); 136static DEFINE_RAW_SPINLOCK(sni_rm200_i8259A_lock);
137#define PIC_CMD 0x00 137#define PIC_CMD 0x00
138#define PIC_IMR 0x01 138#define PIC_IMR 0x01
139#define PIC_ISR PIC_CMD 139#define PIC_ISR PIC_CMD
140#define PIC_POLL PIC_ISR 140#define PIC_POLL PIC_ISR
141#define PIC_OCW3 PIC_ISR 141#define PIC_OCW3 PIC_ISR
142 142
@@ -421,8 +421,8 @@ void __init sni_rm200_i8259_irqs(void)
421} 421}
422 422
423 423
424#define SNI_RM200_INT_STAT_REG CKSEG1ADDR(0xbc000000) 424#define SNI_RM200_INT_STAT_REG CKSEG1ADDR(0xbc000000)
425#define SNI_RM200_INT_ENA_REG CKSEG1ADDR(0xbc080000) 425#define SNI_RM200_INT_ENA_REG CKSEG1ADDR(0xbc080000)
426 426
427#define SNI_RM200_INT_START 24 427#define SNI_RM200_INT_START 24
428#define SNI_RM200_INT_END 28 428#define SNI_RM200_INT_END 28