From 61ab758bf63b495d25f93dd41e1d7e57f74d702c Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Sun, 11 Jan 2004 16:20:02 +0000 Subject: Add new getnodebyname interface as OF_getnodebyname to openfirmware, from netbsd. Only implemented on macppc so far. --- sys/dev/ofw/openfirm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/ofw/openfirm.h b/sys/dev/ofw/openfirm.h index 25e46815abf..c045963ed1a 100644 --- a/sys/dev/ofw/openfirm.h +++ b/sys/dev/ofw/openfirm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: openfirm.h,v 1.8 2003/10/31 04:08:10 drahn Exp $ */ +/* $OpenBSD: openfirm.h,v 1.9 2004/01/11 16:20:01 drahn Exp $ */ /* $NetBSD: openfirm.h,v 1.1 1996/09/30 16:35:10 ws Exp $ */ /* @@ -66,6 +66,7 @@ int OF_interpret(char *cmd, int nreturns, ...); #if 0 void (*OF_set_callback(void (*newfunc)(void *))) (); #endif +int OF_getnodebyname(int, const char *); /* * Some generic routines for OpenFirmware handling. -- cgit v1.2.3