summaryrefslogtreecommitdiff
path: root/device/dev_hdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/dev_hdr.h')
-rw-r--r--device/dev_hdr.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/device/dev_hdr.h b/device/dev_hdr.h
index d5b8770..340a2db 100644
--- a/device/dev_hdr.h
+++ b/device/dev_hdr.h
@@ -130,4 +130,20 @@ boolean_t dev_map(boolean_t (*)(), mach_port_t);
#define device_lock(device) simple_lock(&(device)->lock)
#define device_unlock(device) simple_unlock(&(device)->lock)
+/*
+ * device name lookup
+ */
+extern boolean_t dev_name_lookup(
+ char * name,
+ dev_ops_t *ops, /* out */
+ int *unit); /* out */
+
+/*
+ * Change an entry in the indirection list.
+ */
+extern void dev_set_indirection(
+ char *name,
+ dev_ops_t ops,
+ int unit);
+
#endif /* _DEVICE_DEV_HDR_H_ */