diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc64/oplib.h | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/include/asm-sparc64/oplib.h b/include/asm-sparc64/oplib.h index 84618f8a9e6e..c754676e13ef 100644 --- a/include/asm-sparc64/oplib.h +++ b/include/asm-sparc64/oplib.h | |||
@@ -12,18 +12,8 @@ | |||
12 | #include <linux/config.h> | 12 | #include <linux/config.h> |
13 | #include <asm/openprom.h> | 13 | #include <asm/openprom.h> |
14 | 14 | ||
15 | /* Enumeration to describe the prom major version we have detected. */ | 15 | /* OBP version string. */ |
16 | enum prom_major_version { | 16 | extern char prom_version[]; |
17 | PROM_V0, /* Original sun4c V0 prom */ | ||
18 | PROM_V2, /* sun4c and early sun4m V2 prom */ | ||
19 | PROM_V3, /* sun4m and later, up to sun4d/sun4e machines V3 */ | ||
20 | PROM_P1275, /* IEEE compliant ISA based Sun PROM, only sun4u */ | ||
21 | PROM_AP1000, /* actually no prom at all */ | ||
22 | }; | ||
23 | |||
24 | extern enum prom_major_version prom_vers; | ||
25 | /* Revision, and firmware revision. */ | ||
26 | extern unsigned int prom_rev, prom_prev; | ||
27 | 17 | ||
28 | /* Root node of the prom device tree, this stays constant after | 18 | /* Root node of the prom device tree, this stays constant after |
29 | * initialization is complete. | 19 | * initialization is complete. |
@@ -133,15 +123,6 @@ extern void prom_setcallback(callback_func_t func_ptr); | |||
133 | */ | 123 | */ |
134 | extern unsigned char prom_get_idprom(char *idp_buffer, int idpbuf_size); | 124 | extern unsigned char prom_get_idprom(char *idp_buffer, int idpbuf_size); |
135 | 125 | ||
136 | /* Get the prom major version. */ | ||
137 | extern int prom_version(void); | ||
138 | |||
139 | /* Get the prom plugin revision. */ | ||
140 | extern int prom_getrev(void); | ||
141 | |||
142 | /* Get the prom firmware revision. */ | ||
143 | extern int prom_getprev(void); | ||
144 | |||
145 | /* Character operations to/from the console.... */ | 126 | /* Character operations to/from the console.... */ |
146 | 127 | ||
147 | /* Non-blocking get character from console. */ | 128 | /* Non-blocking get character from console. */ |