diff options
Diffstat (limited to 'share/man/man9/make_dev.9')
-rw-r--r-- | share/man/man9/make_dev.9 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/make_dev.9 b/share/man/man9/make_dev.9 index e7aee91..7eb1ecd 100644 --- a/share/man/man9/make_dev.9 +++ b/share/man/man9/make_dev.9 @@ -44,11 +44,11 @@ and DEVFS registration for devices .In sys/param.h .In sys/conf.h .Ft struct cdev * -.Fn make_dev "struct cdevsw *cdevsw" "int minor" "uid_t uid" "gid_t gid" "int perms" "const char *fmt" ... +.Fn make_dev "struct cdevsw *cdevsw" "int unit" "uid_t uid" "gid_t gid" "int perms" "const char *fmt" ... .Ft struct cdev * -.Fn make_dev_cred "struct cdevsw *cdevsw" "int minor" "struct ucred *cr" "uid_t uid" "gid_t gid" "int perms" "const char *fmt" ... +.Fn make_dev_cred "struct cdevsw *cdevsw" "int unit" "struct ucred *cr" "uid_t uid" "gid_t gid" "int perms" "const char *fmt" ... .Ft struct cdev * -.Fn make_dev_credf "int flags" "struct cdevsw *cdevsw" "int minor" "struct ucred *cr" "uid_t uid" "gid_t gid" "int perms" "const char *fmt" ... +.Fn make_dev_credf "int flags" "struct cdevsw *cdevsw" "int unit" "struct ucred *cr" "uid_t uid" "gid_t gid" "int perms" "const char *fmt" ... .Ft struct cdev * .Fn make_dev_alias "struct cdev *pdev" "const char *fmt" ... .Ft void @@ -148,14 +148,14 @@ The .Fn make_dev_cred function is equivalent to the call .Bd -literal -offset indent -make_dev_credf(0, cdevsw, minor, cr, uid, gid, perms, fmt, ...); +make_dev_credf(0, cdevsw, unit, cr, uid, gid, perms, fmt, ...); .Ed . .Pp The .Fn make_dev function call is the same as .Bd -literal -offset indent -make_dev_credf(0, cdevsw, minor, NULL, uid, gid, perms, fmt, ...); +make_dev_credf(0, cdevsw, unit, NULL, uid, gid, perms, fmt, ...); .Ed . .Pp The @@ -184,7 +184,7 @@ that are available to store state. Both fields are of type .Ft void * . These are designed to replace the -.Fa minor +.Fa unit argument to .Fn make_dev . .Pp |