obio.c (171626) | obio.c (236987) |
---|---|
1/* $NetBSD: obio.c,v 1.11 2003/07/15 00:25:05 lukem Exp $ */ 2 3/*- 4 * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc. 5 * All rights reserved. 6 * 7 * Written by Jason R. Thorpe for Wasabi Systems, Inc. 8 * --- 27 unchanged lines hidden (view full) --- 36 */ 37 38/* 39 * On-board device autoconfiguration support for Intel IQ80321 40 * evaluation boards. 41 */ 42 43#include <sys/cdefs.h> | 1/* $NetBSD: obio.c,v 1.11 2003/07/15 00:25:05 lukem Exp $ */ 2 3/*- 4 * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc. 5 * All rights reserved. 6 * 7 * Written by Jason R. Thorpe for Wasabi Systems, Inc. 8 * --- 27 unchanged lines hidden (view full) --- 36 */ 37 38/* 39 * On-board device autoconfiguration support for Intel IQ80321 40 * evaluation boards. 41 */ 42 43#include <sys/cdefs.h> |
44__FBSDID("$FreeBSD: head/sys/arm/xscale/i8134x/obio.c 171626 2007-07-27 14:50:57Z cognet $"); | 44__FBSDID("$FreeBSD: head/sys/arm/xscale/i8134x/obio.c 236987 2012-06-13 04:38:09Z imp $"); |
45 46#include <sys/param.h> 47#include <sys/systm.h> 48#include <sys/bus.h> 49#include <sys/kernel.h> 50#include <sys/module.h> 51#include <sys/rman.h> 52#include <sys/malloc.h> --- 69 unchanged lines hidden (view full) --- 122 } 123 break; 124 default: 125 return (NULL); 126 } 127 128 129 rv = rman_reserve_resource(rm, start, end, count, flags, child); | 45 46#include <sys/param.h> 47#include <sys/systm.h> 48#include <sys/bus.h> 49#include <sys/kernel.h> 50#include <sys/module.h> 51#include <sys/rman.h> 52#include <sys/malloc.h> --- 69 unchanged lines hidden (view full) --- 122 } 123 break; 124 default: 125 return (NULL); 126 } 127 128 129 rv = rman_reserve_resource(rm, start, end, count, flags, child); |
130 if (rv == NULL) | 130 if (rv == NULL) |
131 return (NULL); 132 if (type == SYS_RES_IRQ) 133 return (rv); 134 rman_set_rid(rv, *rid); 135 rman_set_bustag(rv, bt); 136 rman_set_bushandle(rv, bh); 137 138 return (rv); --- 29 unchanged lines hidden --- | 131 return (NULL); 132 if (type == SYS_RES_IRQ) 133 return (rv); 134 rman_set_rid(rv, *rid); 135 rman_set_bustag(rv, bt); 136 rman_set_bushandle(rv, bh); 137 138 return (rv); --- 29 unchanged lines hidden --- |