isa.c (7345) | isa.c (7430) |
---|---|
1/*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 | 1/*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 |
37 * $Id: isa.c,v 1.40 1995/03/16 17:31:18 se Exp $ | 37 * $Id: isa.c,v 1.41 1995/03/25 05:54:33 swallace Exp $ |
38 */ 39 40/* 41 * code to manage AT bus 42 * 43 * 92/08/18 Frank P. MacLachlan (fpm@crash.cts.com): 44 * Fixed uninitialized variable problem and added code to deal 45 * with DMA page boundaries in isa_dmarangecheck(). Fixed word --- 86 unchanged lines hidden (view full) --- 132static inthand_t *slowintr[ICU_LEN] = { 133 &IDTVEC(intr0), &IDTVEC(intr1), &IDTVEC(intr2), &IDTVEC(intr3), 134 &IDTVEC(intr4), &IDTVEC(intr5), &IDTVEC(intr6), &IDTVEC(intr7), 135 &IDTVEC(intr8), &IDTVEC(intr9), &IDTVEC(intr10), &IDTVEC(intr11), 136 &IDTVEC(intr12), &IDTVEC(intr13), &IDTVEC(intr14), &IDTVEC(intr15) 137}; 138 139static void config_isadev __P((struct isa_device *isdp, u_int *mp)); | 38 */ 39 40/* 41 * code to manage AT bus 42 * 43 * 92/08/18 Frank P. MacLachlan (fpm@crash.cts.com): 44 * Fixed uninitialized variable problem and added code to deal 45 * with DMA page boundaries in isa_dmarangecheck(). Fixed word --- 86 unchanged lines hidden (view full) --- 132static inthand_t *slowintr[ICU_LEN] = { 133 &IDTVEC(intr0), &IDTVEC(intr1), &IDTVEC(intr2), &IDTVEC(intr3), 134 &IDTVEC(intr4), &IDTVEC(intr5), &IDTVEC(intr6), &IDTVEC(intr7), 135 &IDTVEC(intr8), &IDTVEC(intr9), &IDTVEC(intr10), &IDTVEC(intr11), 136 &IDTVEC(intr12), &IDTVEC(intr13), &IDTVEC(intr14), &IDTVEC(intr15) 137}; 138 139static void config_isadev __P((struct isa_device *isdp, u_int *mp)); |
140static void config_isadev_c __P((struct isa_device *isdp, u_int *mp, 141 int reconfig)); |
|
140static void conflict __P((struct isa_device *dvp, struct isa_device *tmpdvp, 141 int item, char const *whatnot, char const *reason, 142 char const *format)); 143static int haveseen __P((struct isa_device *dvp, struct isa_device *tmpdvp, 144 u_int checkbits)); 145static int haveseen_isadev __P((struct isa_device *dvp, u_int checkbits)); 146static inthand2_t isa_strayintr; 147static void register_imask __P((struct isa_device *dvp, u_int mask)); --- 213 unchanged lines hidden (view full) --- 361 spl0(); 362} 363 364/* 365 * Configure an ISA device. 366 */ 367 368 | 142static void conflict __P((struct isa_device *dvp, struct isa_device *tmpdvp, 143 int item, char const *whatnot, char const *reason, 144 char const *format)); 145static int haveseen __P((struct isa_device *dvp, struct isa_device *tmpdvp, 146 u_int checkbits)); 147static int haveseen_isadev __P((struct isa_device *dvp, u_int checkbits)); 148static inthand2_t isa_strayintr; 149static void register_imask __P((struct isa_device *dvp, u_int mask)); --- 213 unchanged lines hidden (view full) --- 363 spl0(); 364} 365 366/* 367 * Configure an ISA device. 368 */ 369 370 |
369static void config_isadev_c(); 370 | |
371static void 372config_isadev(isdp, mp) 373 struct isa_device *isdp; 374 u_int *mp; 375{ 376 config_isadev_c(isdp, mp, 0); 377} 378 --- 682 unchanged lines hidden --- | 371static void 372config_isadev(isdp, mp) 373 struct isa_device *isdp; 374 u_int *mp; 375{ 376 config_isadev_c(isdp, mp, 0); 377} 378 --- 682 unchanged lines hidden --- |