patch-2.1.124 linux/include/asm-sparc/oplib.h

Next file: linux/include/asm-sparc/pbm.h
Previous file: linux/include/asm-sparc/openprom.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.123/linux/include/asm-sparc/oplib.h linux/include/asm-sparc/oplib.h
@@ -1,4 +1,4 @@
-/* $Id: oplib.h,v 1.19 1998/01/30 10:59:53 jj Exp $
+/* $Id: oplib.h,v 1.20 1998/09/17 11:05:25 jj Exp $
  * oplib.h:  Describes the interface and available routines in the
  *           Linux Prom library.
  *
@@ -279,6 +279,9 @@
  * node.  Returns null string on failure.
  */
 extern char *prom_nextprop(int node, char *prev_property, char *buffer);
+
+/* Returns phandle of the path specified */
+extern int prom_finddevice(char *name);
 
 /* Returns 1 if the specified node has given property. */
 extern int prom_node_has_property(int node, char *property);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov