Deleted Added
full compact
firmware.9 (206622) firmware.9 (233648)
1.\" Copyright (c) 2006 Max Laier <mlaier@FreeBSD.org>
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.

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

16.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
17.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23.\"
1.\" Copyright (c) 2006 Max Laier <mlaier@FreeBSD.org>
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.

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

16.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
17.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23.\"
24.\" $FreeBSD: head/share/man/man9/firmware.9 206622 2010-04-14 19:08:06Z uqs $
24.\" $FreeBSD: head/share/man/man9/firmware.9 233648 2012-03-29 05:02:12Z eadler $
25.\"
26.Dd August 2, 2008
27.Dt FIRMWARE 9
28.Os
29.Sh NAME
30.Nm firmware_register ,
31.Nm firmware_unregister ,
32.Nm firmware_get ,

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

152drops a reference to a firmware image.
153The
154.Fa flags
155argument may be set to
156.Dv FIRMWARE_UNLOAD
157to indicate that
158firmware_put is free to reclaim resources associated with
159the firmware image if this is the last reference.
25.\"
26.Dd August 2, 2008
27.Dt FIRMWARE 9
28.Os
29.Sh NAME
30.Nm firmware_register ,
31.Nm firmware_unregister ,
32.Nm firmware_get ,

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

152drops a reference to a firmware image.
153The
154.Fa flags
155argument may be set to
156.Dv FIRMWARE_UNLOAD
157to indicate that
158firmware_put is free to reclaim resources associated with
159the firmware image if this is the last reference.
160By default a firmware image will be deferred to a
160By default a firmware image will be deferred to a
161.Xr taskqueue 9
162thread so the call may be done while holding a lock.
163In certain cases, such as on driver detach, this cannot be allowed.
164.Sh FIRMWARE LOADING MECHANISMS
165As mentioned before, any component of the system can register
166firmware images at any time by simply calling
167.Fn firmware_register .
168.Pp

--- 102 unchanged lines hidden ---
161.Xr taskqueue 9
162thread so the call may be done while holding a lock.
163In certain cases, such as on driver detach, this cannot be allowed.
164.Sh FIRMWARE LOADING MECHANISMS
165As mentioned before, any component of the system can register
166firmware images at any time by simply calling
167.Fn firmware_register .
168.Pp

--- 102 unchanged lines hidden ---