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

Annotation of sys/arch/vax/include/ioa.h, Revision 1.1

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

CVSweb