i81342.c (171626) | i81342.c (172297) |
---|---|
1/*- 2 * Copyright (c) 2006 Olivier Houchard 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 --- 11 unchanged lines hidden (view full) --- 20 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24 * POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2006 Olivier Houchard 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 --- 11 unchanged lines hidden (view full) --- 20 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24 * POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/arm/xscale/i8134x/i81342.c 171626 2007-07-27 14:50:57Z cognet $"); | 28__FBSDID("$FreeBSD: head/sys/arm/xscale/i8134x/i81342.c 172297 2007-09-22 16:25:43Z cognet $"); |
29 30#include <sys/param.h> 31#include <sys/systm.h> 32#include <sys/bus.h> 33#include <sys/kernel.h> 34#include <sys/module.h> 35 36#define _ARM32_BUS_DMA_PRIVATE --- 358 unchanged lines hidden (view full) --- 395 rman_manage_region(&sc->sc_irq_rman, 0, 127) != 0) 396 panic("i81342_attach: failed to set up IRQ rman"); 397 398 device_add_child(dev, "obio", 0); 399 device_add_child(dev, "itimer", 0); 400 device_add_child(dev, "iopwdog", 0); 401 device_add_child(dev, "pcib", 0); 402 device_add_child(dev, "pcib", 1); | 29 30#include <sys/param.h> 31#include <sys/systm.h> 32#include <sys/bus.h> 33#include <sys/kernel.h> 34#include <sys/module.h> 35 36#define _ARM32_BUS_DMA_PRIVATE --- 358 unchanged lines hidden (view full) --- 395 rman_manage_region(&sc->sc_irq_rman, 0, 127) != 0) 396 panic("i81342_attach: failed to set up IRQ rman"); 397 398 device_add_child(dev, "obio", 0); 399 device_add_child(dev, "itimer", 0); 400 device_add_child(dev, "iopwdog", 0); 401 device_add_child(dev, "pcib", 0); 402 device_add_child(dev, "pcib", 1); |
403 device_add_child(dev, "iqseg", 0); |
|
403 bus_generic_probe(dev); 404 bus_generic_attach(dev); 405 return (0); 406} 407 408static struct resource * 409i81342_alloc_resource(device_t dev, device_t child, int type, int *rid, 410 u_long start, u_long end, u_long count, u_int flags) --- 53 unchanged lines hidden --- | 404 bus_generic_probe(dev); 405 bus_generic_attach(dev); 406 return (0); 407} 408 409static struct resource * 410i81342_alloc_resource(device_t dev, device_t child, int type, int *rid, 411 u_long start, u_long end, u_long count, u_int flags) --- 53 unchanged lines hidden --- |