Home | History | Annotate | Line # | Download | only in include
      1  1.13  jdolecek /*	$NetBSD: autoconf.h,v 1.13 2017/06/16 18:17:41 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.8    briggs #include <machine/bus.h>
     38   1.8    briggs 
     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.8    briggs 
     44   1.8    briggs struct mainbus_attach_args {
     45   1.8    briggs 	bus_space_tag_t	mba_bst;
     46   1.8    briggs 	bus_dma_tag_t	mba_dmat;
     47   1.8    briggs };
     48   1.1    briggs 
     49   1.2    briggs /* autoconf.c */
     50   1.9       chs void	setconf(void);
     51   1.3    scottr 
     52   1.2    briggs /* machdep.c */
     53   1.9       chs void	mac68k_set_io_offsets(vaddr_t);
     54  1.12  christos int	badbaddr(void *);
     55  1.12  christos int	badwaddr(void *);
     56  1.12  christos int	badladdr(void *);
     57   1.1    briggs 
     58   1.3    scottr /* clock.c */
     59   1.9       chs void	enablertclock(void);
     60   1.9       chs void	cpu_initclocks(void);
     61   1.9       chs void	setstatclockrate(int);
     62   1.9       chs void	disablertclock(void);
     63   1.9       chs void	mac68k_calibrate_delay(void);
     64   1.9       chs void	startrtclock(void);
     65   1.2    briggs 
     66   1.2    briggs /* macrom.c */
     67   1.9       chs void	mrg_init(void);
     68