Home | History | Annotate | Line # | Download | only in include
      1  1.14   tsutsui /*	$NetBSD: autoconf.h,v 1.14 2011/03/06 14:58:43 tsutsui Exp $	*/
      2   1.6      soda /*	$OpenBSD: autoconf.h,v 1.2 1997/03/12 19:16:54 pefo Exp $	*/
      3   1.6      soda /*	NetBSD: autoconf.h,v 1.1 1995/02/13 23:07:31 cgd Exp 	*/
      4   1.1  jonathan 
      5   1.1  jonathan /*
      6   1.1  jonathan  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
      7   1.1  jonathan  * All rights reserved.
      8   1.1  jonathan  *
      9   1.1  jonathan  * Author: Chris G. Demetriou
     10  1.14   tsutsui  *
     11   1.1  jonathan  * Permission to use, copy, modify and distribute this software and
     12   1.1  jonathan  * its documentation is hereby granted, provided that both the copyright
     13   1.1  jonathan  * notice and this permission notice appear in all copies of the
     14   1.1  jonathan  * software, derivative works or modified versions, and any portions
     15   1.1  jonathan  * thereof, and that both notices appear in supporting documentation.
     16  1.14   tsutsui  *
     17  1.14   tsutsui  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
     18  1.14   tsutsui  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
     19   1.1  jonathan  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
     20  1.14   tsutsui  *
     21   1.1  jonathan  * Carnegie Mellon requests users of this software to return to
     22   1.1  jonathan  *
     23   1.1  jonathan  *  Software Distribution Coordinator  or  Software.Distribution (at) CS.CMU.EDU
     24   1.1  jonathan  *  School of Computer Science
     25   1.1  jonathan  *  Carnegie Mellon University
     26   1.1  jonathan  *  Pittsburgh PA 15213-3890
     27   1.1  jonathan  *
     28   1.1  jonathan  * any improvements or extensions that they make and grant Carnegie the
     29   1.1  jonathan  * rights to redistribute these changes.
     30   1.1  jonathan  */
     31   1.1  jonathan 
     32   1.1  jonathan /*
     33   1.8    simonb  * Machine-dependent structures for autoconfiguration
     34   1.1  jonathan  */
     35   1.1  jonathan 
     36   1.6      soda #ifndef _ARC_AUTOCONF_H_
     37   1.6      soda #define _ARC_AUTOCONF_H_
     38   1.6      soda 
     39   1.1  jonathan struct confargs;
     40   1.1  jonathan 
     41   1.9   tsutsui typedef int (*intr_handler_t)(void *);
     42   1.1  jonathan 
     43   1.1  jonathan struct confargs {
     44  1.10   tsutsui 	const char *ca_name;		/* Device name. */
     45   1.1  jonathan 	int	ca_slot;		/* Device slot. */
     46   1.1  jonathan 	int	ca_offset;		/* Offset into slot. */
     47   1.1  jonathan };
     48   1.1  jonathan 
     49  1.11        he void	makebootdev(const char *cp);
     50   1.2  jonathan 
     51   1.7      soda /* serial console related variables */
     52   1.7      soda extern int com_freq;
     53   1.7      soda extern int com_console;
     54   1.7      soda extern int com_console_address;
     55   1.7      soda extern int com_console_speed;
     56   1.7      soda extern int com_console_mode;
     57   1.6      soda #endif /* _ARC_AUTOCONF_H_ */
     58