FreeBSD Bugzilla – Attachment 51475 Details for
Bug 78172
make_dev.9 says DEVFS functions use dev_t instead of 'struct cdev'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
diff.0.make_dev.9
diff.0.make_dev.9 (text/plain), 1.42 KB, created by
Wojciech A. Koszek
on 2005-02-28 00:10:10 UTC
(
hide
)
Description:
diff.0.make_dev.9
Filename:
MIME Type:
Creator:
Wojciech A. Koszek
Created:
2005-02-28 00:10:10 UTC
Size:
1.42 KB
patch
obsolete
> >Patch against FreeBSD 5.4-PRERELEASE, kern.osreldate: 503102. > >diff -upr /usr/src/share/man/man9/make_dev.9 src/share/man/man9/make_dev.9 >--- /usr/src/share/man/man9/make_dev.9 Thu Jul 29 20:57:37 2004 >+++ src/share/man/man9/make_dev.9 Mon Feb 28 00:03:44 2005 >@@ -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.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 78172
: 51475