eisaconf.c (31016) | eisaconf.c (33181) |
---|---|
1/* 2 * EISA bus probe and attach routines 3 * 4 * Copyright (c) 1995, 1996 Justin T. Gibbs. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * | 1/* 2 * EISA bus probe and attach routines 3 * 4 * Copyright (c) 1995, 1996 Justin T. Gibbs. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * |
31 * $Id: eisaconf.c,v 1.32 1997/10/28 15:58:08 bde Exp $ | 31 * $Id: eisaconf.c,v 1.33 1997/11/07 08:52:24 phk Exp $ |
32 */ 33 34#include "opt_eisa.h" 35 36#include <sys/param.h> 37#include <sys/systm.h> 38#include <sys/kernel.h> 39#include <sys/malloc.h> --- 32 unchanged lines hidden (view full) --- 72 * Add the mainboard_drv to the eisa driver linkerset so that it is 73 * defined even if no EISA drivers are linked into the kernel. 74 */ 75DATA_SET (eisadriver_set, mainboard_drv); 76 77/* 78 * Local function declarations and static variables 79 */ | 32 */ 33 34#include "opt_eisa.h" 35 36#include <sys/param.h> 37#include <sys/systm.h> 38#include <sys/kernel.h> 39#include <sys/malloc.h> --- 32 unchanged lines hidden (view full) --- 72 * Add the mainboard_drv to the eisa driver linkerset so that it is 73 * defined even if no EISA drivers are linked into the kernel. 74 */ 75DATA_SET (eisadriver_set, mainboard_drv); 76 77/* 78 * Local function declarations and static variables 79 */ |
80void eisa_reg_print __P((struct eisa_device *e_dev, char *string, 81 char *separator)); | 80static void eisa_reg_print __P((struct eisa_device *e_dev, 81 char *string, char *separator)); |
82static int eisa_add_resvaddr __P((struct eisa_device *e_dev, 83 struct resvlist *head, u_long base, 84 u_long size, int flags)); 85static int eisa_reg_resvaddr __P((struct eisa_device *e_dev, 86 struct resvlist *head, resvaddr_t *resvaddr, 87 int *reg_count)); 88 89/* --- 217 unchanged lines hidden (view full) --- 307 free(string, M_TEMP); 308} 309 310/* 311 * Output registration information mindfull of screen wrap. 312 * Output an optional character separator before the string 313 * if the line does not wrap. 314 */ | 82static int eisa_add_resvaddr __P((struct eisa_device *e_dev, 83 struct resvlist *head, u_long base, 84 u_long size, int flags)); 85static int eisa_reg_resvaddr __P((struct eisa_device *e_dev, 86 struct resvlist *head, resvaddr_t *resvaddr, 87 int *reg_count)); 88 89/* --- 217 unchanged lines hidden (view full) --- 307 free(string, M_TEMP); 308} 309 310/* 311 * Output registration information mindfull of screen wrap. 312 * Output an optional character separator before the string 313 * if the line does not wrap. 314 */ |
315void | 315static void |
316eisa_reg_print(e_dev, string, separator) 317 struct eisa_device *e_dev; 318 char *string; 319 char *separator; 320{ 321 int len = strlen(string); 322 323 if(separator) --- 334 unchanged lines hidden --- | 316eisa_reg_print(e_dev, string, separator) 317 struct eisa_device *e_dev; 318 char *string; 319 char *separator; 320{ 321 int len = strlen(string); 322 323 if(separator) --- 334 unchanged lines hidden --- |