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