summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2010-05-20 09:41:13 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2010-05-20 09:41:13 +0000
commit830ca8ea8c9a8fda03fe028acf0d8191a55c00b3 (patch)
treebac2a158c5a3479cfaa18f751b1f2642ec305c12
parentcdba28b0ebb228c7f1a889616d765c3581c2a596 (diff)
Notes
-rw-r--r--share/man/man9/make_dev.911
1 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man9/make_dev.9 b/share/man/man9/make_dev.9
index b39ca8b833e4..36062d14cebd 100644
--- a/share/man/man9/make_dev.9
+++ b/share/man/man9/make_dev.9
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 28, 2008
+.Dd May 6, 2010
.Os
.Dt MAKE_DEV 9
.Sh NAME
@@ -133,9 +133,18 @@ The following values are currently accepted:
.Pp
.Bd -literal -offset indent -compact
MAKEDEV_REF reference the created device
+MAKEDEV_NOWAIT do not sleep, may return NULL
+MAKEDEV_WAITOK allow the function to sleep to satisfy malloc
.Ed
.Pp
The
+.Dv MAKEDEV_WAITOK
+flag is assumed if none of
+.Dv MAKEDEV_WAITOK ,
+.Dv MAKEDEV_NOWAIT
+is specified.
+.Pp
+The
.Xr dev_clone 9
event handler shall specify
.Dv MAKEDEV_REF