Deleted Added
full compact
bhndb.h (299135) bhndb.h (300445)
1/*-
2 * Copyright (c) 2015 Landon Fuller <landon@landonf.org>
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

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

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
1/*-
2 * Copyright (c) 2015 Landon Fuller <landon@landonf.org>
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

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

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
29 * $FreeBSD: head/sys/dev/bhnd/bhndb/bhndb.h 299135 2016-05-05 19:56:18Z adrian $
29 * $FreeBSD: head/sys/dev/bhnd/bhndb/bhndb.h 300445 2016-05-23 03:47:44Z adrian $
30 */
31
32#ifndef _BHND_BHNDB_H_
33#define _BHND_BHNDB_H_
34
35#include <sys/param.h>
36#include <sys/bus.h>
37
38#include <machine/bus.h>
39#include <sys/rman.h>
40#include <machine/resource.h>
41
42#include <dev/bhnd/bhnd.h>
43
44#include "bhndb_bus_if.h"
45
46extern devclass_t bhndb_devclass;
30 */
31
32#ifndef _BHND_BHNDB_H_
33#define _BHND_BHNDB_H_
34
35#include <sys/param.h>
36#include <sys/bus.h>
37
38#include <machine/bus.h>
39#include <sys/rman.h>
40#include <machine/resource.h>
41
42#include <dev/bhnd/bhnd.h>
43
44#include "bhndb_bus_if.h"
45
46extern devclass_t bhndb_devclass;
47DECLARE_CLASS(bhnd_bhndb_driver);
47
48int bhndb_attach_bridge(device_t parent, device_t *bhndb, int unit);
49
50/**
51 * bhndb register window types.
52 */
53typedef enum {
54 BHNDB_REGWIN_T_CORE, /**< Fixed mapping of a core port region. */

--- 119 unchanged lines hidden ---
48
49int bhndb_attach_bridge(device_t parent, device_t *bhndb, int unit);
50
51/**
52 * bhndb register window types.
53 */
54typedef enum {
55 BHNDB_REGWIN_T_CORE, /**< Fixed mapping of a core port region. */

--- 119 unchanged lines hidden ---