Deleted Added
full compact
fdt_ic_if.m (162227) fdt_ic_if.m (162237)
1#-
2# Copyright (c) 1998-2004 Doug Rabson
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8# 1. Redistributions of source code must retain the above copyright

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

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

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

18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24# SUCH DAMAGE.
25#
26# $FreeBSD: head/sys/kern/bus_if.m 162227 2006-09-11 19:41:31Z jhb $
26# $FreeBSD: head/sys/kern/bus_if.m 162237 2006-09-11 22:20:37Z jhb $
27#
28
29#include <sys/bus.h>
30
31/**
32 * @defgroup BUS bus - KObj methods for drivers of devices with children
33 * @brief A set of methods required device drivers that support
34 * child devices.

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

189 * @param _unit unit number for new device or @c -1 if not
190 * specified
191 */
192METHOD device_t add_child {
193 device_t _dev;
194 int _order;
195 const char *_name;
196 int _unit;
27#
28
29#include <sys/bus.h>
30
31/**
32 * @defgroup BUS bus - KObj methods for drivers of devices with children
33 * @brief A set of methods required device drivers that support
34 * child devices.

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

189 * @param _unit unit number for new device or @c -1 if not
190 * specified
191 */
192METHOD device_t add_child {
193 device_t _dev;
194 int _order;
195 const char *_name;
196 int _unit;
197} DEFAULT bus_generic_add_child;
197};
198
199/**
200 * @brief Allocate a system resource
201 *
202 * This method is called by child devices of a bus to allocate resources.
203 * The types are defined in <machine/resource.h>; the meaning of the
204 * resource-ID field varies from bus to bus (but @p *rid == 0 is always
205 * valid if the resource type is). If a resource was allocated and the

--- 337 unchanged lines hidden ---
198
199/**
200 * @brief Allocate a system resource
201 *
202 * This method is called by child devices of a bus to allocate resources.
203 * The types are defined in <machine/resource.h>; the meaning of the
204 * resource-ID field varies from bus to bus (but @p *rid == 0 is always
205 * valid if the resource type is). If a resource was allocated and the

--- 337 unchanged lines hidden ---