Home | History | Annotate | Line # | Download | only in include
ioa.h revision 1.9
      1  1.9  ragge /*	$NetBSD: ioa.h,v 1.9 2003/01/19 22:29:22 ragge Exp $	*/
      2  1.4  ragge /*-
      3  1.4  ragge  * Copyright (c) 1982, 1986 The Regents of the University of California.
      4  1.1  ragge  * All rights reserved.
      5  1.1  ragge  *
      6  1.1  ragge  * Redistribution and use in source and binary forms, with or without
      7  1.1  ragge  * modification, are permitted provided that the following conditions
      8  1.1  ragge  * are met:
      9  1.1  ragge  * 1. Redistributions of source code must retain the above copyright
     10  1.1  ragge  *    notice, this list of conditions and the following disclaimer.
     11  1.1  ragge  * 2. Redistributions in binary form must reproduce the above copyright
     12  1.1  ragge  *    notice, this list of conditions and the following disclaimer in the
     13  1.1  ragge  *    documentation and/or other materials provided with the distribution.
     14  1.1  ragge  * 3. All advertising materials mentioning features or use of this software
     15  1.1  ragge  *    must display the following acknowledgement:
     16  1.4  ragge  *	This product includes software developed by the University of
     17  1.4  ragge  *	California, Berkeley and its contributors.
     18  1.4  ragge  * 4. Neither the name of the University nor the names of its contributors
     19  1.4  ragge  *    may be used to endorse or promote products derived from this software
     20  1.4  ragge  *    without specific prior written permission.
     21  1.4  ragge  *
     22  1.4  ragge  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
     23  1.4  ragge  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     24  1.4  ragge  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     25  1.4  ragge  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
     26  1.4  ragge  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     27  1.4  ragge  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     28  1.4  ragge  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     29  1.4  ragge  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     30  1.4  ragge  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     31  1.4  ragge  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     32  1.4  ragge  * SUCH DAMAGE.
     33  1.1  ragge  *
     34  1.4  ragge  *	@(#)ioa.h	7.3 (Berkeley) 5/9/91
     35  1.1  ragge  */
     36  1.1  ragge 
     37  1.4  ragge /****************************************************************
     38  1.4  ragge  *                                                              *
     39  1.4  ragge  *        Licensed from Digital Equipment Corporation           *
     40  1.4  ragge  *                       Copyright (c)                          *
     41  1.4  ragge  *               Digital Equipment Corporation                  *
     42  1.4  ragge  *                   Maynard, Massachusetts                     *
     43  1.4  ragge  *                         1985, 1986                           *
     44  1.4  ragge  *                    All rights reserved.                      *
     45  1.4  ragge  *                                                              *
     46  1.4  ragge  *        The Information in this software is subject to change *
     47  1.4  ragge  *   without notice and should not be construed as a commitment *
     48  1.4  ragge  *   by  Digital  Equipment  Corporation.   Digital   makes  no *
     49  1.4  ragge  *   representations about the suitability of this software for *
     50  1.4  ragge  *   any purpose.  It is supplied "As Is" without expressed  or *
     51  1.4  ragge  *   implied  warranty.                                         *
     52  1.4  ragge  *                                                              *
     53  1.4  ragge  *        If the Regents of the University of California or its *
     54  1.4  ragge  *   licensees modify the software in a manner creating         *
     55  1.5     pk  *   derivative copyright rights, appropriate copyright         *
     56  1.5     pk  *   legends may be placed on  the derivative work in addition  *
     57  1.4  ragge  *   to that set forth above.                                   *
     58  1.4  ragge  *								*
     59  1.4  ragge  ****************************************************************/
     60  1.4  ragge 
     61  1.7  ragge #include "opt_cputype.h"
     62  1.8   matt #if VAX8600 || VAXANY
     63  1.9  ragge #define	NIOA8600	2	/* Number of SBI possible on a VAX86x0 */
     64  1.4  ragge #define IOASIZE		0x2000000
     65  1.4  ragge #define IOAMAPSIZ 	512		/* Map one page to get at SBIA regs */
     66  1.4  ragge #define	IOA8600(i)	((caddr_t)(0x20080000+IOASIZE*i))
     67  1.4  ragge 
     68  1.4  ragge struct	sbia_regs
     69  1.4  ragge {
     70  1.4  ragge 	int sbi_cfg;
     71  1.4  ragge 	int sbi_csr;
     72  1.4  ragge 	int sbi_errsum;
     73  1.4  ragge 	int sbi_dctl;
     74  1.4  ragge 	int sbi_dmaica;
     75  1.4  ragge 	int sbi_dmaiid;
     76  1.4  ragge 	int sbi_dmaaca;
     77  1.4  ragge 	int sbi_dmaaid;
     78  1.4  ragge 	int sbi_dmabcs;
     79  1.4  ragge 	int sbi_dmabid;
     80  1.4  ragge 	int sbi_dmaccs;
     81  1.4  ragge 	int sbi_dmacid;
     82  1.4  ragge 	int sbi_silo;
     83  1.4  ragge 	int sbi_error;
     84  1.4  ragge 	int sbi_timo;
     85  1.4  ragge 	int sbi_fltsts;
     86  1.4  ragge 	int sbi_silcmp;
     87  1.4  ragge 	int sbi_maint;
     88  1.4  ragge 	int sbi_unjam;
     89  1.4  ragge 	int sbi_qclr;
     90  1.9  ragge 	int sbi_unused1[12];
     91  1.4  ragge 	int sbi_iv10;
     92  1.4  ragge 	int sbi_iv11;
     93  1.4  ragge 	int sbi_iv12;
     94  1.4  ragge 	int sbi_iv13;
     95  1.4  ragge 	int sbi_iv14;
     96  1.4  ragge 	int sbi_iv15;
     97  1.4  ragge 	int sbi_iv16;
     98  1.4  ragge 	int sbi_iv17;
     99  1.4  ragge 	int sbi_iv18;
    100  1.4  ragge 	int sbi_iv19;
    101  1.4  ragge 	int sbi_iv1a;
    102  1.4  ragge 	int sbi_iv1b;
    103  1.4  ragge 	int sbi_iv1c;
    104  1.4  ragge 	int sbi_iv1d;
    105  1.4  ragge 	int sbi_iv1e;
    106  1.9  ragge 	int sbi_unused2[17];
    107  1.4  ragge };
    108  1.1  ragge 
    109  1.4  ragge #define IOA_TYPMSK 0xf0
    110  1.4  ragge #define IOA_SBIA	0x10
    111  1.1  ragge 
    112  1.6   matt #endif /* VAX8600 */
    113