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