patch-2.1.29 linux/include/asm-sparc/oplib.h
Next file: linux/include/asm-sparc/processor.h
Previous file: linux/include/asm-sparc/fcntl.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Wed Mar 5 17:04:33 1997
- Orig file:
v2.1.28/linux/include/asm-sparc/oplib.h
- Orig date:
Sat Nov 9 00:29:49 1996
diff -u --recursive --new-file v2.1.28/linux/include/asm-sparc/oplib.h linux/include/asm-sparc/oplib.h
@@ -1,4 +1,4 @@
-/* $Id: oplib.h,v 1.12 1996/10/31 06:29:13 davem Exp $
+/* $Id: oplib.h,v 1.13 1997/01/31 00:16:52 tdyas Exp $
* oplib.h: Describes the interface and available routines in the
* Linux Prom library.
*
@@ -208,7 +208,19 @@
extern void prom_putsegment(int context, unsigned long virt_addr,
int physical_segment);
+
/* PROM device tree traversal functions... */
+
+#ifdef PROMLIB_INTERNAL
+
+/* Internal version of prom_getchild. */
+extern int __prom_getchild(int parent_node);
+
+/* Internal version of prom_getsibling. */
+extern int __prom_getsibling(int node);
+
+#endif
+
/* Get the child node of the given node, or zero if no child exists. */
extern int prom_getchild(int parent_node);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov