summaryrefslogtreecommitdiffstats
path: root/sys/sys/device.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-06-16 10:29:55 +0000
committerderaadt <deraadt@openbsd.org>1996-06-16 10:29:55 +0000
commit9a29152ac40e2d17f5b1aaab066c94aebdcea64d (patch)
tree4ff5d0fe84233e38d89e4d8f0366b3da6dbff97d /sys/sys/device.h
parentonly call config_init() once (diff)
downloadwireguard-openbsd-9a29152ac40e2d17f5b1aaab066c94aebdcea64d.tar.xz
wireguard-openbsd-9a29152ac40e2d17f5b1aaab066c94aebdcea64d.zip
provide locator names to kernel (update your config(8) binary!)
Diffstat (limited to 'sys/sys/device.h')
-rw-r--r--sys/sys/device.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/device.h b/sys/sys/device.h
index 37df553bc2a..8b0190ff3c4 100644
--- a/sys/sys/device.h
+++ b/sys/sys/device.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: device.h,v 1.5 1996/04/29 14:17:53 hvozda Exp $ */
+/* $OpenBSD: device.h,v 1.6 1996/06/16 10:29:55 deraadt Exp $ */
/* $NetBSD: device.h,v 1.15 1996/04/09 20:55:24 cgd Exp $ */
/*
@@ -93,6 +93,7 @@ struct cfdata {
int *cf_loc; /* locators (machine dependent) */
int cf_flags; /* flags from config */
short *cf_parents; /* potential parents */
+ int cf_locnames; /* start of names */
void (**cf_ivstubs) /* config-generated vectors, if any */
__P((void));
};
@@ -164,6 +165,7 @@ extern struct devicelist alldevs; /* list of all devices */
extern struct evcntlist allevents; /* list of all event counters */
void config_init __P((void));
+void config_edit __P((void));
void *config_search __P((cfmatch_t, struct device *, void *));
void *config_rootsearch __P((cfmatch_t, char *, void *));
struct device *config_found_sm __P((struct device *, void *, cfprint_t,