1: /*
   2:  * @(#)ioa.h	7.1 (Berkeley) 6/5/86
   3:  */
   4: 
   5: /****************************************************************
   6:  *                                                              *
   7:  *        Licensed from Digital Equipment Corporation           *
   8:  *                       Copyright (c)                          *
   9:  *               Digital Equipment Corporation                  *
  10:  *                   Maynard, Massachusetts                     *
  11:  *                         1985, 1986                           *
  12:  *                    All rights reserved.                      *
  13:  *                                                              *
  14:  *        The Information in this software is subject to change *
  15:  *   without notice and should not be construed as a commitment *
  16:  *   by  Digital  Equipment  Corporation.   Digital   makes  no *
  17:  *   representations about the suitability of this software for *
  18:  *   any purpose.  It is supplied "As Is" without expressed  or *
  19:  *   implied  warranty.                                         *
  20:  *                                                              *
  21:  *        If the Regents of the University of California or its *
  22:  *   licensees modify the software in a manner creating         *
  23:  *   diriviative copyright rights, appropriate copyright        *
  24:  *   legends may be placed on  the drivative work in addition   *
  25:  *   to that set forth above.                                   *
  26:  *								*
  27:  ****************************************************************/
  28: 
  29: #define MAXNIOA 4
  30: #define NIOA8600 2
  31: #define IOASIZE 0x2000000
  32: #define IOAMAPSIZ 512           /* Map one page to get at SBIA regs */
  33: #define IOA8600(i)  ((caddr_t)(0x20080000+IOASIZE*i))
  34: 
  35: #ifndef LOCORE
  36: struct  sbia_regs
  37: {
  38:     int sbi_cfg;
  39:     int sbi_csr;
  40:     int sbi_errsum;
  41:     int sbi_dctl;
  42:     int sbi_dmaica;
  43:     int sbi_dmaiid;
  44:     int sbi_dmaaca;
  45:     int sbi_dmaaid;
  46:     int sbi_dmabcs;
  47:     int sbi_dmabid;
  48:     int sbi_dmaccs;
  49:     int sbi_dmacid;
  50:     int sbi_silo;
  51:     int sbi_error;
  52:     int sbi_timo;
  53:     int sbi_fltsts;
  54:     int sbi_silcmp;
  55:     int sbi_maint;
  56:     int sbi_unjam;
  57:     int sbi_qclr;
  58:     int sbi_unused[12];
  59:     int sbi_iv10;
  60:     int sbi_iv11;
  61:     int sbi_iv12;
  62:     int sbi_iv13;
  63:     int sbi_iv14;
  64:     int sbi_iv15;
  65:     int sbi_iv16;
  66:     int sbi_iv17;
  67:     int sbi_iv18;
  68:     int sbi_iv19;
  69:     int sbi_iv1a;
  70:     int sbi_iv1b;
  71:     int sbi_iv1c;
  72:     int sbi_iv1d;
  73:     int sbi_iv1e;
  74: };
  75: struct  ioa {
  76:     union ioacsr {
  77:         long    ioa_csr;
  78:         u_char  ioa_type;
  79:     } ioacsr;
  80:     long    ioa_pad[IOAMAPSIZ / sizeof (long) - 1];
  81: };
  82: #ifdef  KERNEL
  83: struct ioa ioa[MAXNIOA];
  84: #endif  KERNEL
  85: #endif	LOCORE
  86: 
  87: #define IOA_TYPMSK 0xf0
  88: #define IOA_SBIA    0x10

Defined variables

ioa defined in line 83; used 1 times

Defined struct's

ioa defined in line 75; used 4 times
sbia_regs defined in line 36; used 4 times

Defined union's

ioacsr defined in line 76; used 2 times

Defined macros

IOA8600 defined in line 33; used 2 times
IOAMAPSIZ defined in line 32; used 5 times
IOASIZE defined in line 31; used 1 times
  • in line 33
IOA_SBIA defined in line 88; never used
IOA_TYPMSK defined in line 87; used 1 times
MAXNIOA defined in line 29; used 3 times
NIOA8600 defined in line 30; never used

Usage of this include

Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 699
Valid CSS Valid XHTML 1.0 Strict