diff options
Diffstat (limited to 'include/asm-sparc')
-rw-r--r-- | include/asm-sparc/oplib.h | 26 | ||||
-rw-r--r-- | include/asm-sparc/prom.h | 4 |
2 files changed, 4 insertions, 26 deletions
diff --git a/include/asm-sparc/oplib.h b/include/asm-sparc/oplib.h index 91691e52c058..17ba82ee220a 100644 --- a/include/asm-sparc/oplib.h +++ b/include/asm-sparc/oplib.h | |||
@@ -158,32 +158,6 @@ extern void prom_putchar(char character); | |||
158 | extern void prom_printf(char *fmt, ...); | 158 | extern void prom_printf(char *fmt, ...); |
159 | extern void prom_write(const char *buf, unsigned int len); | 159 | extern void prom_write(const char *buf, unsigned int len); |
160 | 160 | ||
161 | /* Query for input device type */ | ||
162 | |||
163 | enum prom_input_device { | ||
164 | PROMDEV_IKBD, /* input from keyboard */ | ||
165 | PROMDEV_ITTYA, /* input from ttya */ | ||
166 | PROMDEV_ITTYB, /* input from ttyb */ | ||
167 | PROMDEV_IRSC, /* input from rsc */ | ||
168 | PROMDEV_IVCONS, /* input from virtual-console */ | ||
169 | PROMDEV_I_UNK, | ||
170 | }; | ||
171 | |||
172 | extern enum prom_input_device prom_query_input_device(void); | ||
173 | |||
174 | /* Query for output device type */ | ||
175 | |||
176 | enum prom_output_device { | ||
177 | PROMDEV_OSCREEN, /* to screen */ | ||
178 | PROMDEV_OTTYA, /* to ttya */ | ||
179 | PROMDEV_OTTYB, /* to ttyb */ | ||
180 | PROMDEV_ORSC, /* to rsc */ | ||
181 | PROMDEV_OVCONS, /* to virtual-console */ | ||
182 | PROMDEV_O_UNK, | ||
183 | }; | ||
184 | |||
185 | extern enum prom_output_device prom_query_output_device(void); | ||
186 | |||
187 | /* Multiprocessor operations... */ | 161 | /* Multiprocessor operations... */ |
188 | 162 | ||
189 | /* Start the CPU with the given device tree node, context table, and context | 163 | /* Start the CPU with the given device tree node, context table, and context |
diff --git a/include/asm-sparc/prom.h b/include/asm-sparc/prom.h index db9feb75bd86..350676c589f9 100644 --- a/include/asm-sparc/prom.h +++ b/include/asm-sparc/prom.h | |||
@@ -85,5 +85,9 @@ static inline void of_node_put(struct device_node *node) | |||
85 | */ | 85 | */ |
86 | #include <linux/of.h> | 86 | #include <linux/of.h> |
87 | 87 | ||
88 | extern struct device_node *of_console_device; | ||
89 | extern char *of_console_path; | ||
90 | extern char *of_console_options; | ||
91 | |||
88 | #endif /* __KERNEL__ */ | 92 | #endif /* __KERNEL__ */ |
89 | #endif /* _SPARC_PROM_H */ | 93 | #endif /* _SPARC_PROM_H */ |