summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2004-01-11 16:20:02 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2004-01-11 16:20:02 +0000
commit61ab758bf63b495d25f93dd41e1d7e57f74d702c (patch)
tree9b68f9e5d8684d570e5b4c28ab9acecb3a28f77b /sys/dev
parente62b26253adc4074907ea13d1dde3b6e3c0b41ee (diff)
Add new getnodebyname interface as OF_getnodebyname to openfirmware, from
netbsd. Only implemented on macppc so far.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ofw/openfirm.h3
1 files changed, 2 insertions, 1 deletions
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.