Deleted Added
sdiff udiff text old ( 198134 ) new ( 209154 )
full compact
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 198134 2009-10-15 14:54:35Z 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.

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

42CODE {
43 static struct resource *
44 null_alloc_resource(device_t dev, device_t child,
45 int type, int *rid, u_long start, u_long end,
46 u_long count, u_int flags)
47 {
48 return (0);
49 }
50};
51
52/**
53 * @brief Print a description of a child device
54 *
55 * This is called from system code which prints out a description of a
56 * device. It should describe the attachment that the child has with
57 * the parent. For instance the TurboLaser bus prints which node the

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

595/**
596 * @brief Notify a bus that the bus pass level has been changed
597 *
598 * @param _dev the bus device
599 */
600METHOD void new_pass {
601 device_t _dev;
602} DEFAULT bus_generic_new_pass;