patch-1.3.71 linux/include/asm-sparc/oplib.h
Next file: linux/include/asm-sparc/page.h
Previous file: linux/include/asm-sparc/mmu_context.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Mar 4 08:50:01 1996
- Orig file:
v1.3.70/linux/include/asm-sparc/oplib.h
- Orig date:
Sat Nov 25 19:04:50 1995
diff -u --recursive --new-file v1.3.70/linux/include/asm-sparc/oplib.h linux/include/asm-sparc/oplib.h
@@ -1,4 +1,4 @@
-/* $Id: oplib.h,v 1.5 1995/11/25 02:32:14 davem Exp $
+/* $Id: oplib.h,v 1.6 1996/01/01 02:47:19 davem Exp $
* oplib.h: Describes the interface and available routines in the
* Linux Prom library.
*
@@ -257,6 +257,9 @@
* node. Returns null string on failure.
*/
extern char *prom_nextprop(int node, char *prev_property);
+
+/* Returns 1 if the specified node has given property. */
+extern int prom_node_has_property(int node, char *property);
/* Set the indicated property at the given node with the passed value.
* Returns the number of bytes of your value that the prom took.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this