Home | History | Annotate | Line # | Download | only in include
autoconf.h revision 1.6.88.1
      1  1.6.88.1  jdolecek /*	$NetBSD: autoconf.h,v 1.6.88.1 2017/12/03 11:36:33 jdolecek 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.3   mycroft #include <machine/bus.h>
     38       1.3   mycroft 
     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.3   mycroft 
     45       1.3   mycroft struct mainbus_attach_args {
     46       1.3   mycroft 	bus_dma_tag_t	mba_dmat;
     47       1.3   mycroft };
     48       1.1       dbj 
     49       1.1       dbj /* autoconf.c */
     50       1.4       chs void	setconf(void);
     51       1.1       dbj 
     52       1.1       dbj /* machdep.c */
     53       1.6  christos int	badbaddr(void *);
     54       1.6  christos int	badwaddr(void *);
     55       1.6  christos int	badladdr(void *);
     56