Deleted Added
full compact
pxa_obio.c (238545) pxa_obio.c (257337)
1/*-
2 * Copyright (c) 2006 Benno Rice. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */
24
25#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2006 Benno Rice. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */
24
25#include <sys/cdefs.h>
26__FBSDID("$FreeBSD: head/sys/arm/xscale/pxa/pxa_obio.c 238545 2012-07-17 03:18:12Z gonzo $");
26__FBSDID("$FreeBSD: head/sys/arm/xscale/pxa/pxa_obio.c 257337 2013-10-29 13:52:05Z nwhitehorn $");
27
28#include <sys/param.h>
29#include <sys/systm.h>
30#include <sys/bus.h>
31#include <sys/kernel.h>
32#include <sys/module.h>
33#include <sys/malloc.h>
34#include <sys/rman.h>

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

87 BUS_ADD_CHILD(parent, 0, "pxa", 0);
88}
89
90int
91pxa_probe(device_t dev)
92{
93
94 device_set_desc(dev, "XScale PXA On-board IO");
27
28#include <sys/param.h>
29#include <sys/systm.h>
30#include <sys/bus.h>
31#include <sys/kernel.h>
32#include <sys/module.h>
33#include <sys/malloc.h>
34#include <sys/rman.h>

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

87 BUS_ADD_CHILD(parent, 0, "pxa", 0);
88}
89
90int
91pxa_probe(device_t dev)
92{
93
94 device_set_desc(dev, "XScale PXA On-board IO");
95 return (0);
95 return (BUS_PROBE_NOWILDCARD);
96}
97
98int
99pxa_attach(device_t dev)
100{
101 struct obio_softc *sc;
102 struct obio_device *od;
103 int i;

--- 294 unchanged lines hidden ---
96}
97
98int
99pxa_attach(device_t dev)
100{
101 struct obio_softc *sc;
102 struct obio_device *od;
103 int i;

--- 294 unchanged lines hidden ---