Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / arc / include / autoconf.h
blob8553535bb43d2ba1e32a1cd85be11d023402cad5
1 /* $NetBSD: autoconf.h,v 1.12 2005/12/11 12:16:39 christos Exp $ */
2 /* $OpenBSD: autoconf.h,v 1.2 1997/03/12 19:16:54 pefo Exp $ */
3 /* NetBSD: autoconf.h,v 1.1 1995/02/13 23:07:31 cgd Exp */
5 /*
6 * Copyright (c) 1994, 1995 Carnegie-Mellon University.
7 * All rights reserved.
9 * Author: Chris G. Demetriou
11 * Permission to use, copy, modify and distribute this software and
12 * its documentation is hereby granted, provided that both the copyright
13 * notice and this permission notice appear in all copies of the
14 * software, derivative works or modified versions, and any portions
15 * thereof, and that both notices appear in supporting documentation.
17 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
18 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
19 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
21 * Carnegie Mellon requests users of this software to return to
23 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
24 * School of Computer Science
25 * Carnegie Mellon University
26 * Pittsburgh PA 15213-3890
28 * any improvements or extensions that they make and grant Carnegie the
29 * rights to redistribute these changes.
33 * Machine-dependent structures for autoconfiguration
36 #ifndef _ARC_AUTOCONF_H_
37 #define _ARC_AUTOCONF_H_
39 struct confargs;
41 typedef int (*intr_handler_t)(void *);
43 struct confargs {
44 const char *ca_name; /* Device name. */
45 int ca_slot; /* Device slot. */
46 int ca_offset; /* Offset into slot. */
49 void makebootdev(const char *cp);
51 /* serial console related variables */
52 extern int com_freq;
53 extern int com_console;
54 extern int com_console_address;
55 extern int com_console_speed;
56 extern int com_console_mode;
57 #endif /* _ARC_AUTOCONF_H_ */