diff options
author | brueffer <brueffer@FreeBSD.org> | 2005-03-28 08:57:07 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2005-03-28 08:57:07 +0000 |
commit | 4a77c83cbd95429ad6d61be4b59118a9a9176352 (patch) | |
tree | 5680c7134a5b2b44b99ae4632770c2866e77b4d7 /share | |
parent | 7ba10bc7d43645ffb90b86c674edcf83220eca99 (diff) | |
download | FreeBSD-src-4a77c83cbd95429ad6d61be4b59118a9a9176352.zip FreeBSD-src-4a77c83cbd95429ad6d61be4b59118a9a9176352.tar.gz |
The make_dev(9) functions no longer handle dev_ts, but struct cdevs.
PR: 78172
Submitted by: "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
MFC after: 3 days
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/make_dev.9 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/share/man/man9/make_dev.9 b/share/man/man9/make_dev.9 index 6299843..fde3f7a 100644 --- a/share/man/man9/make_dev.9 +++ b/share/man/man9/make_dev.9 @@ -33,24 +33,24 @@ .Nm destroy_dev , .Nm dev_depends .Nd manage -.Vt dev_t Ns 's +.Vt cdev Ns 's and DEVFS registration for devices .Sh SYNOPSIS .In sys/param.h .In sys/conf.h -.Ft dev_t +.Ft struct cdev .Fn make_dev "struct cdevsw *cdevsw" "int minor" "uid_t uid" "gid_t gid" "int perms" "const char *fmt" ... -.Ft dev_t -.Fn make_dev_alias "dev_t pdev" "const char *fmt" ... +.Ft struct cdev +.Fn make_dev_alias "struct cdev pdev" "const char *fmt" ... .Ft void -.Fn destroy_dev "dev_t dev" +.Fn destroy_dev "struct cdev dev" .Ft void -.Fn dev_depends "dev_t pdev" "dev_t cdev" +.Fn dev_depends "struct cdev pdev" "struct cdev cdev" .Sh DESCRIPTION The .Fn make_dev function creates a -.Fa dev_t +.Fa cdev structure for a new device. If DEVFS is available, it is also notified of the presence of the new device. @@ -92,7 +92,7 @@ are defined in The .Fn make_dev_alias function takes the returned -.Ft dev_t +.Ft cdev from .Fn make_dev and makes another (aliased) name for this device. @@ -104,7 +104,7 @@ prior to calling The .Fn destroy_dev function takes the returned -.Fa dev_t +.Fa cdev from .Fn make_dev and destroys the registration for that device. |