Home | History | Annotate | Line # | Download | only in include
autoconf.h revision 1.7.24.1
      1  1.7.24.1  jdolecek /*	$NetBSD: autoconf.h,v 1.7.24.1 2002/06/23 17:37:44 jdolecek 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.7.24.1  jdolecek #include <machine/bus.h>
     38  1.7.24.1  jdolecek 
     39       1.1    briggs /*
     40       1.1    briggs  * Autoconfiguration information.
     41       1.1    briggs  * From sun3 port--adapted for mac68k platform by Allen Briggs.
     42       1.1    briggs  */
     43  1.7.24.1  jdolecek 
     44  1.7.24.1  jdolecek struct mainbus_attach_args {
     45  1.7.24.1  jdolecek 	bus_space_tag_t	mba_bst;
     46  1.7.24.1  jdolecek 	bus_dma_tag_t	mba_dmat;
     47  1.7.24.1  jdolecek };
     48       1.1    briggs 
     49       1.2    briggs /* autoconf.c */
     50       1.1    briggs void	setconf __P((void));
     51       1.3    scottr 
     52       1.2    briggs /* machdep.c */
     53       1.7    scottr void	mac68k_set_io_offsets __P((vaddr_t));
     54       1.2    briggs void	dumpconf __P((void));
     55       1.1    briggs int	badbaddr __P((register caddr_t addr));
     56       1.1    briggs int	badwaddr __P((register caddr_t addr));
     57       1.1    briggs int	badladdr __P((register caddr_t addr));
     58       1.1    briggs 
     59       1.3    scottr /* clock.c */
     60       1.1    briggs void	enablertclock __P((void));
     61       1.1    briggs void	cpu_initclocks __P((void));
     62       1.1    briggs void	setstatclockrate __P((int));
     63       1.1    briggs void	disablertclock __P((void));
     64       1.1    briggs u_long	clkread __P((void));
     65       1.1    briggs void	inittodr __P((time_t));
     66       1.1    briggs void	resettodr __P((void));
     67       1.1    briggs void	mac68k_calibrate_delay __P((void));
     68       1.2    briggs void	startrtclock __P((void));
     69       1.2    briggs 
     70       1.2    briggs /* macrom.c */
     71       1.2    briggs void	mrg_init __P((void));
     72