aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sparc/Kconfig4
-rw-r--r--arch/sparc/kernel/devices.c2
-rw-r--r--arch/sparc/kernel/process_32.c2
-rw-r--r--arch/sparc/kernel/sparc_ksyms_32.c2
-rw-r--r--arch/sparc/kernel/sparc_ksyms_64.c2
-rw-r--r--arch/sparc/mm/sun4c.c2
-rw-r--r--arch/sparc/prom/misc_32.c2
7 files changed, 0 insertions, 16 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 7cfe557db23d..ecb5ff9f01fa 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -465,10 +465,6 @@ config SBUSCHAR
465 bool 465 bool
466 default y 466 default y
467 467
468config SUN_AUXIO
469 bool
470 default y
471
472config SUN_IO 468config SUN_IO
473 bool 469 bool
474 default y 470 default y
diff --git a/arch/sparc/kernel/devices.c b/arch/sparc/kernel/devices.c
index ad656b044b8c..b171ae8de90d 100644
--- a/arch/sparc/kernel/devices.c
+++ b/arch/sparc/kernel/devices.c
@@ -133,14 +133,12 @@ void __init device_scan(void)
133#endif /* !CONFIG_SMP */ 133#endif /* !CONFIG_SMP */
134 134
135 cpu_probe(); 135 cpu_probe();
136#ifdef CONFIG_SUN_AUXIO
137 { 136 {
138 extern void auxio_probe(void); 137 extern void auxio_probe(void);
139 extern void auxio_power_probe(void); 138 extern void auxio_power_probe(void);
140 auxio_probe(); 139 auxio_probe();
141 auxio_power_probe(); 140 auxio_power_probe();
142 } 141 }
143#endif
144 clock_stop_probe(); 142 clock_stop_probe();
145 143
146 if (ARCH_SUN4C) 144 if (ARCH_SUN4C)
diff --git a/arch/sparc/kernel/process_32.c b/arch/sparc/kernel/process_32.c
index e8c43ffe317e..69d9315f4a93 100644
--- a/arch/sparc/kernel/process_32.c
+++ b/arch/sparc/kernel/process_32.c
@@ -168,11 +168,9 @@ void machine_restart(char * cmd)
168 168
169void machine_power_off(void) 169void machine_power_off(void)
170{ 170{
171#ifdef CONFIG_SUN_AUXIO
172 if (auxio_power_register && 171 if (auxio_power_register &&
173 (strcmp(of_console_device->type, "serial") || scons_pwroff)) 172 (strcmp(of_console_device->type, "serial") || scons_pwroff))
174 *auxio_power_register |= AUXIO_POWER_OFF; 173 *auxio_power_register |= AUXIO_POWER_OFF;
175#endif
176 machine_halt(); 174 machine_halt();
177} 175}
178 176
diff --git a/arch/sparc/kernel/sparc_ksyms_32.c b/arch/sparc/kernel/sparc_ksyms_32.c
index b0dfff848653..3c80562faa8a 100644
--- a/arch/sparc/kernel/sparc_ksyms_32.c
+++ b/arch/sparc/kernel/sparc_ksyms_32.c
@@ -122,10 +122,8 @@ EXPORT_SYMBOL(phys_cpu_present_map);
122EXPORT_SYMBOL(__udelay); 122EXPORT_SYMBOL(__udelay);
123EXPORT_SYMBOL(__ndelay); 123EXPORT_SYMBOL(__ndelay);
124EXPORT_SYMBOL(rtc_lock); 124EXPORT_SYMBOL(rtc_lock);
125#ifdef CONFIG_SUN_AUXIO
126EXPORT_SYMBOL(set_auxio); 125EXPORT_SYMBOL(set_auxio);
127EXPORT_SYMBOL(get_auxio); 126EXPORT_SYMBOL(get_auxio);
128#endif
129EXPORT_SYMBOL(io_remap_pfn_range); 127EXPORT_SYMBOL(io_remap_pfn_range);
130 128
131#ifndef CONFIG_SMP 129#ifndef CONFIG_SMP
diff --git a/arch/sparc/kernel/sparc_ksyms_64.c b/arch/sparc/kernel/sparc_ksyms_64.c
index c450825b3fe5..e6d2bb86a46f 100644
--- a/arch/sparc/kernel/sparc_ksyms_64.c
+++ b/arch/sparc/kernel/sparc_ksyms_64.c
@@ -154,10 +154,8 @@ EXPORT_SYMBOL(sun4v_niagara_setperf);
154EXPORT_SYMBOL(sun4v_niagara2_getperf); 154EXPORT_SYMBOL(sun4v_niagara2_getperf);
155EXPORT_SYMBOL(sun4v_niagara2_setperf); 155EXPORT_SYMBOL(sun4v_niagara2_setperf);
156 156
157#ifdef CONFIG_SUN_AUXIO
158EXPORT_SYMBOL(auxio_set_led); 157EXPORT_SYMBOL(auxio_set_led);
159EXPORT_SYMBOL(auxio_set_lte); 158EXPORT_SYMBOL(auxio_set_lte);
160#endif
161#ifdef CONFIG_SBUS 159#ifdef CONFIG_SBUS
162EXPORT_SYMBOL(sbus_set_sbus64); 160EXPORT_SYMBOL(sbus_set_sbus64);
163#endif 161#endif
diff --git a/arch/sparc/mm/sun4c.c b/arch/sparc/mm/sun4c.c
index fe65aeeb3947..6b0c49004ba6 100644
--- a/arch/sparc/mm/sun4c.c
+++ b/arch/sparc/mm/sun4c.c
@@ -240,9 +240,7 @@ void sun4c_complete_all_stores(void)
240 240
241 _unused = sun4c_get_context(); 241 _unused = sun4c_get_context();
242 sun4c_set_context(_unused); 242 sun4c_set_context(_unused);
243#ifdef CONFIG_SUN_AUXIO
244 _unused = get_auxio(); 243 _unused = get_auxio();
245#endif
246} 244}
247 245
248/* Bootup utility functions. */ 246/* Bootup utility functions. */
diff --git a/arch/sparc/prom/misc_32.c b/arch/sparc/prom/misc_32.c
index 49b5057b9601..cf6c3f6d36c3 100644
--- a/arch/sparc/prom/misc_32.c
+++ b/arch/sparc/prom/misc_32.c
@@ -61,9 +61,7 @@ prom_cmdline(void)
61 restore_current(); 61 restore_current();
62 install_linux_ticker(); 62 install_linux_ticker();
63 spin_unlock_irqrestore(&prom_lock, flags); 63 spin_unlock_irqrestore(&prom_lock, flags);
64#ifdef CONFIG_SUN_AUXIO
65 set_auxio(AUXIO_LED, 0); 64 set_auxio(AUXIO_LED, 0);
66#endif
67} 65}
68 66
69/* Drop into the prom, but completely terminate the program. 67/* Drop into the prom, but completely terminate the program.