Deleted Added
full compact
bus_alloc_resource.9 (127133) bus_alloc_resource.9 (130582)
1.\" -*- nroff -*-
2.\"
3.\" Copyright (c) 2000 Alexander Langer
4.\"
5.\" All rights reserved.
6.\"
7.\" This program is free software.
8.\"

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

21.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28.\"
1.\" -*- nroff -*-
2.\"
3.\" Copyright (c) 2000 Alexander Langer
4.\"
5.\" All rights reserved.
6.\"
7.\" This program is free software.
8.\"

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

21.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28.\"
29.\" $FreeBSD: head/share/man/man9/bus_alloc_resource.9 127133 2004-03-17 17:40:34Z njl $
29.\" $FreeBSD: head/share/man/man9/bus_alloc_resource.9 130582 2004-06-16 08:33:57Z ru $
30.\"
31.Dd May 18, 2000
32.Dt BUS_ALLOC_RESOURCE 9
33.Os
34.Sh NAME
35.Nm bus_alloc_resource ,
36.Nm bus_alloc_resource_any
37.Nd allocate resources from a parent bus

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

131resource has been reserved.
132The resource still needs to be activated with
133.Xr bus_activate_resource 9 .
134.It Dv RF_ACTIVE
135activate resource atomically.
136.It Dv RF_SHAREABLE
137resource permits contemporaneous sharing.
138It should always be set unless you know that the resource cannot be shared.
30.\"
31.Dd May 18, 2000
32.Dt BUS_ALLOC_RESOURCE 9
33.Os
34.Sh NAME
35.Nm bus_alloc_resource ,
36.Nm bus_alloc_resource_any
37.Nd allocate resources from a parent bus

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

131resource has been reserved.
132The resource still needs to be activated with
133.Xr bus_activate_resource 9 .
134.It Dv RF_ACTIVE
135activate resource atomically.
136.It Dv RF_SHAREABLE
137resource permits contemporaneous sharing.
138It should always be set unless you know that the resource cannot be shared.
139It is the bus driver's task to filter out the flag if the bus doesn't
139It is the bus driver's task to filter out the flag if the bus does not
140support sharing.
141For example,
142.Xr pccard 4
143cannot share IRQs while
144.Xr cardbus 4
145can.
146.It Dv RF_TIMESHARE
147resource permits time-division sharing.

--- 35 unchanged lines hidden ---
140support sharing.
141For example,
142.Xr pccard 4
143cannot share IRQs while
144.Xr cardbus 4
145can.
146.It Dv RF_TIMESHARE
147resource permits time-division sharing.

--- 35 unchanged lines hidden ---