]> err.no Git - linux-2.6/blobdiff - include/asm-sparc64/prom.h
[POWERPC] 4xx: Add 405GPr and 405EP support in boot wrapper
[linux-2.6] / include / asm-sparc64 / prom.h
index e83896f3c141a3178c791be8dcf8c0b180b5aa98..07843f9f05df5771928f8f53285e158f27a919fd 100644 (file)
@@ -25,6 +25,7 @@
 
 #define of_compat_cmp(s1, s2, l)       strncmp((s1), (s2), (l))
 #define of_prop_cmp(s1, s2)            strcasecmp((s1), (s2))
+#define of_node_cmp(s1, s2)            strcmp((s1), (s2))
 
 typedef u32 phandle;
 typedef u32 ihandle;
@@ -75,6 +76,7 @@ extern int of_set_property(struct device_node *node, const char *name, void *val
 extern int of_getintprop_default(struct device_node *np,
                                 const char *name,
                                 int def);
+extern int of_find_in_proplist(const char *list, const char *match, int len);
 
 extern void prom_build_devicetree(void);
 
@@ -93,5 +95,9 @@ static inline void of_node_put(struct device_node *node)
  */
 #include <linux/of.h>
 
+extern struct device_node *of_console_device;
+extern char *of_console_path;
+extern char *of_console_options;
+
 #endif /* __KERNEL__ */
 #endif /* _SPARC64_PROM_H */