Home | History | Annotate | Line # | Download | only in include
autoconf.h revision 1.3.12.1
      1  1.3.12.1  wrstuden /*	$NetBSD: autoconf.h,v 1.3.12.1 1999/12/27 18:33:07 wrstuden Exp $	*/
      2       1.1    tsubai 
      3       1.1    tsubai /*
      4       1.1    tsubai  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
      5       1.1    tsubai  * All rights reserved.
      6       1.1    tsubai  *
      7       1.1    tsubai  * Author: Chris G. Demetriou
      8       1.1    tsubai  *
      9       1.1    tsubai  * Permission to use, copy, modify and distribute this software and
     10       1.1    tsubai  * its documentation is hereby granted, provided that both the copyright
     11       1.1    tsubai  * notice and this permission notice appear in all copies of the
     12       1.1    tsubai  * software, derivative works or modified versions, and any portions
     13       1.1    tsubai  * thereof, and that both notices appear in supporting documentation.
     14       1.1    tsubai  *
     15       1.1    tsubai  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
     16       1.1    tsubai  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
     17       1.1    tsubai  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
     18       1.1    tsubai  *
     19       1.1    tsubai  * Carnegie Mellon requests users of this software to return to
     20       1.1    tsubai  *
     21       1.1    tsubai  *  Software Distribution Coordinator  or  Software.Distribution (at) CS.CMU.EDU
     22       1.1    tsubai  *  School of Computer Science
     23       1.1    tsubai  *  Carnegie Mellon University
     24       1.1    tsubai  *  Pittsburgh PA 15213-3890
     25       1.1    tsubai  *
     26       1.1    tsubai  * any improvements or extensions that they make and grant Carnegie the
     27       1.1    tsubai  * rights to redistribute these changes.
     28       1.1    tsubai  */
     29       1.1    tsubai 
     30       1.1    tsubai /*
     31       1.1    tsubai  * Machine-dependent structures of autoconfiguration
     32       1.1    tsubai  */
     33       1.1    tsubai 
     34       1.1    tsubai struct confargs {
     35       1.1    tsubai 	char	*ca_name;		/* Device name. */
     36       1.1    tsubai 	int	ca_slot;		/* Device slot (table entry). */
     37       1.1    tsubai 	int	ca_offset;		/* Offset into slot. */
     38       1.1    tsubai 	int	ca_addr;		/* Device address. */
     39       1.1    tsubai 	int	ca_slotpri;		/* Device interrupt "priority" */
     40       1.1    tsubai };
     41       1.1    tsubai 
     42       1.2    tsubai /* Locator aliases */
     43       1.2    tsubai #define cf_addr	cf_loc[0]
     44  1.3.12.1  wrstuden #define cf_level	cf_loc[1]
     45  1.3.12.1  wrstuden 
     46  1.3.12.1  wrstuden int news3400_badaddr __P((void *, u_int));
     47  1.3.12.1  wrstuden #define badaddr news3400_badaddr
     48       1.1    tsubai 
     49  1.3.12.1  wrstuden void *hb_intr_establish __P((int, int, int (*)(void *), void *));
     50