Deleted Added
full compact
make_dev.9 (183382) make_dev.9 (183442)
1.\" Copyright (c) 1999 Chris Costello
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 1999 Chris Costello
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man9/make_dev.9 183382 2008-09-26 14:31:24Z ed $
25.\" $FreeBSD: head/share/man/man9/make_dev.9 183442 2008-09-28 20:15:45Z ed $
26.\"
26.\"
27.Dd September 8, 2008
27.Dd September 28, 2008
28.Os
29.Dt MAKE_DEV 9
30.Sh NAME
31.Nm make_dev ,
32.Nm make_dev_cred ,
33.Nm make_dev_credf ,
34.Nm make_dev_alias ,
35.Nm destroy_dev ,

--- 145 unchanged lines hidden (view full) ---

181and
182.Fa si_drv2 ,
183that are available to store state.
184Both fields are of type
185.Ft void * .
186These are designed to replace the
187.Fa unit
188argument to
28.Os
29.Dt MAKE_DEV 9
30.Sh NAME
31.Nm make_dev ,
32.Nm make_dev_cred ,
33.Nm make_dev_credf ,
34.Nm make_dev_alias ,
35.Nm destroy_dev ,

--- 145 unchanged lines hidden (view full) ---

181and
182.Fa si_drv2 ,
183that are available to store state.
184Both fields are of type
185.Ft void * .
186These are designed to replace the
187.Fa unit
188argument to
189.Fn make_dev .
189.Fn make_dev ,
190which can be obtained with
191.Fn dev2unit .
190.Pp
191The
192.Fn destroy_dev
193function takes the returned
194.Fa cdev
195from
196.Fn make_dev
197and destroys the registration for that device.

--- 92 unchanged lines hidden ---
192.Pp
193The
194.Fn destroy_dev
195function takes the returned
196.Fa cdev
197from
198.Fn make_dev
199and destroys the registration for that device.

--- 92 unchanged lines hidden ---