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