Deleted Added
full compact
fdt_ic_if.m (45107) fdt_ic_if.m (45720)
1#
2# Copyright (c) 1998 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 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# $Id: bus_if.m,v 1.5 1998/11/14 21:58:51 wollman Exp $
26# $Id: bus_if.m,v 1.6 1999/03/29 08:54:19 dfr Exp $
27#
28
29INTERFACE bus;
30
31#
32# This is called from system code which prints out a description of a
33# device. It should describe the attachment that the child has with
34# the parent. For instance the TurboLaser bus prints which node the

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

75# to reclaim any resources allocated on behalf of the child.
76#
77METHOD void child_detached {
78 device_t dev;
79 device_t child;
80};
81
82#
27#
28
29INTERFACE bus;
30
31#
32# This is called from system code which prints out a description of a
33# device. It should describe the attachment that the child has with
34# the parent. For instance the TurboLaser bus prints which node the

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

75# to reclaim any resources allocated on behalf of the child.
76#
77METHOD void child_detached {
78 device_t dev;
79 device_t child;
80};
81
82#
83# Called when a new driver is added to the devclass which owns this
84# bus. The generic implementation of this method attempts to probe and
85# attach any un-matched children of the bus.
86#
87METHOD void driver_added {
88 device_t dev;
89 driver_t *driver;
90}
91
92#
83# Allocate a system resource attached to `dev' on behalf of `child'.
84# The types are defined in <machine/resource.h>; the meaning of the
85# resource-ID field varies from bus to bus (but *rid == 0 is always
86# valid if the resource type is). start and end reflect the allowable
87# range, and should be passed as `0UL' and `~0UL', respectively, if
88# the client has no range restriction. count is the number of consecutive
89# indices in the resource required. flags is a set of sharing flags
90# as defined in <sys/rman.h>.

--- 60 unchanged lines hidden ---
93# Allocate a system resource attached to `dev' on behalf of `child'.
94# The types are defined in <machine/resource.h>; the meaning of the
95# resource-ID field varies from bus to bus (but *rid == 0 is always
96# valid if the resource type is). start and end reflect the allowable
97# range, and should be passed as `0UL' and `~0UL', respectively, if
98# the client has no range restriction. count is the number of consecutive
99# indices in the resource required. flags is a set of sharing flags
100# as defined in <sys/rman.h>.

--- 60 unchanged lines hidden ---