[BACK]Return to autoconf.h CVS log [TXT][DIR] Up to [local] / sys / arch / mvme68k / include

Annotation of sys/arch/mvme68k/include/autoconf.h, Revision 1.1.1.1

1.1       nbrk        1: /*     $OpenBSD: autoconf.h,v 1.14 2007/05/08 15:33:10 deraadt Exp $ */
                      2:
                      3: /*
                      4:  * Copyright (c) 1995 Theo de Raadt
                      5:  * All rights reserved.
                      6:  *
                      7:  * Redistribution and use in source and binary forms, with or without
                      8:  * modification, are permitted provided that the following conditions
                      9:  * are met:
                     10:  * 1. Redistributions of source code must retain the above copyright
                     11:  *    notice, this list of conditions and the following disclaimer.
                     12:  * 2. Redistributions in binary form must reproduce the above copyright
                     13:  *    notice, this list of conditions and the following disclaimer in the
                     14:  *    documentation and/or other materials provided with the distribution.
                     15:  *
                     16:  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
                     17:  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
                     18:  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
                     19:  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
                     20:  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
                     21:  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
                     22:  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
                     23:  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
                     24:  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
                     25:  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
                     26:  */
                     27:
                     28: #ifndef _MVME68K_AUTOCONF_H_
                     29: #define _MVME68K_AUTOCONF_H_
                     30:
                     31: struct confargs {
                     32:        int     ca_bustype;
                     33:        vaddr_t ca_vaddr;
                     34:        paddr_t ca_paddr;
                     35:        int     ca_offset;
                     36:        int     ca_ipl;
                     37:        int     ca_vec;
                     38:        char    *ca_name;
                     39: };
                     40:
                     41: #define BUS_MAIN       1
                     42: #define BUS_PCC                2       /* VME147 PCC chip */
                     43: #define BUS_MC         3       /* VME162 MC chip */
                     44: #define BUS_PCCTWO     4       /* VME166/167/177 PCC2 chip */
                     45: #define BUS_VMES       5       /* 16 bit VME access */
                     46: #define BUS_VMEL       6       /* 32 bit VME access */
                     47: #define BUS_IP         7       /* VME162 IP module bus */
                     48:
                     49: /* the following are from the prom/bootblocks */
                     50: extern paddr_t bootaddr;       /* PA of boot device */
                     51: extern int     bootctrllun;    /* ctrl_lun of boot device */
                     52: extern int     bootdevlun;     /* dev_lun of boot device */
                     53: extern int     bootpart;       /* boot partition (disk) */
                     54:
                     55: vaddr_t        mapiodev(paddr_t, int);
                     56: void   unmapiodev(vaddr_t, int);
                     57:
                     58: #endif

CVSweb