Deleted Added
full compact
bus_if.m (67278) bus_if.m (69294)
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# $FreeBSD: head/sys/kern/bus_if.m 67278 2000-10-18 05:15:40Z mdodd $
26# $FreeBSD: head/sys/kern/bus_if.m 69294 2000-11-28 06:49:15Z mdodd $
27#
28
29#include <sys/bus.h>
30
31INTERFACE bus;
32
33#
34# Default implementations of some methods.

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

235 device_t child;
236 int type;
237 int rid;
238};
239
240#
241# Return a struct resource_list.
242#
27#
28
29#include <sys/bus.h>
30
31INTERFACE bus;
32
33#
34# Default implementations of some methods.

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

235 device_t child;
236 int type;
237 int rid;
238};
239
240#
241# Return a struct resource_list.
242#
243METHOD int get_resource_list {
243METHOD struct resource_list * get_resource_list {
244 device_t dev;
245 device_t child;
244 device_t dev;
245 device_t child;
246 struct resource_list *rl;
247} DEFAULT bus_generic_get_resource_list;
246} DEFAULT bus_generic_get_resource_list;