Annotation of sys/arch/mac68k/include/autoconf.h, Revision 1.1.1.1
1.1 nbrk 1: /* $OpenBSD: autoconf.h,v 1.13 2006/07/11 18:58:15 miod Exp $ */
2: /* $NetBSD: autoconf.h,v 1.5 1996/12/17 06:47:40 scottr Exp $ */
3:
4: /*
5: * Copyright (c) 1994 Gordon W. Ross
6: * Copyright (c) 1993 Adam Glass
7: * All rights reserved.
8: *
9: * Redistribution and use in source and binary forms, with or without
10: * modification, are permitted provided that the following conditions
11: * are met:
12: * 1. Redistributions of source code must retain the above copyright
13: * notice, this list of conditions and the following disclaimer.
14: * 2. Redistributions in binary form must reproduce the above copyright
15: * notice, this list of conditions and the following disclaimer in the
16: * documentation and/or other materials provided with the distribution.
17: * 3. All advertising materials mentioning features or use of this software
18: * must display the following acknowledgement:
19: * This product includes software developed by Adam Glass.
20: * 4. The name of the Author may not be used to endorse or promote products
21: * derived from this software without specific prior written permission.
22: *
23: * THIS SOFTWARE IS PROVIDED BY Adam Glass ``AS IS'' AND
24: * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26: * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29: * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33: * SUCH DAMAGE.
34: */
35:
36: #ifndef _MAC68K_AUTOCONF_H_
37: #define _MAC68K_AUTOCONF_H_
38:
39: /*
40: * Autoconfiguration information.
41: * From sun3 port--adapted for mac68k platform by Allen Briggs.
42: */
43:
44: #ifdef _KERNEL
45: /* autoconf.c */
46: void setconf(void);
47:
48: /* machdep.c */
49: void mac68k_set_io_offsets(vaddr_t);
50: void dumpconf(void);
51:
52: /* clock.h */
53:
54: u_long clkread(void);
55: void mac68k_calibrate_delay(void);
56: void startrtclock(void);
57:
58: #endif /* _KERNEL */
59:
60: #endif /* _MAC68K_AUTOCONF_H_ */
CVSweb