Deleted Added
full compact
bus.h (49047) bus.h (49195)
1/*-
2 * Copyright (c) 1997,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) 1997,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.h,v 1.20 1999/07/04 14:58:55 phk Exp $
26 * $Id: bus.h,v 1.21 1999/07/24 09:34:10 dfr Exp $
27 */
28
29#ifndef _SYS_BUS_H_
30#define _SYS_BUS_H_
31
32#ifdef KERNEL
33
34#include <sys/queue.h>

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

169 int type, int *rid,
170 u_long start, u_long end,
171 u_long count, u_int flags);
172int bus_generic_attach(device_t dev);
173int bus_generic_deactivate_resource(device_t dev, device_t child, int type,
174 int rid, struct resource *r);
175int bus_generic_detach(device_t dev);
176void bus_generic_driver_added(device_t dev, driver_t *driver);
27 */
28
29#ifndef _SYS_BUS_H_
30#define _SYS_BUS_H_
31
32#ifdef KERNEL
33
34#include <sys/queue.h>

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

169 int type, int *rid,
170 u_long start, u_long end,
171 u_long count, u_int flags);
172int bus_generic_attach(device_t dev);
173int bus_generic_deactivate_resource(device_t dev, device_t child, int type,
174 int rid, struct resource *r);
175int bus_generic_detach(device_t dev);
176void bus_generic_driver_added(device_t dev, driver_t *driver);
177void bus_generic_print_child(device_t dev, device_t child);
177int bus_print_child_header(device_t dev, device_t child);
178int bus_print_child_footer(device_t dev, device_t child);
179int bus_generic_print_child(device_t dev, device_t child);
178int bus_generic_probe(device_t dev);
179int bus_generic_read_ivar(device_t dev, device_t child, int which,
180 uintptr_t *result);
181int bus_generic_release_resource(device_t bus, device_t child,
182 int type, int rid, struct resource *r);
183int bus_generic_resume(device_t dev);
184int bus_generic_setup_intr(device_t dev, device_t child,
185 struct resource *irq, int flags,

--- 179 unchanged lines hidden ---
180int bus_generic_probe(device_t dev);
181int bus_generic_read_ivar(device_t dev, device_t child, int which,
182 uintptr_t *result);
183int bus_generic_release_resource(device_t bus, device_t child,
184 int type, int rid, struct resource *r);
185int bus_generic_resume(device_t dev);
186int bus_generic_setup_intr(device_t dev, device_t child,
187 struct resource *irq, int flags,

--- 179 unchanged lines hidden ---