|
|
1.1 root 1: /*
2: * @(#)ioa.h 7.2 (Berkeley) 8/9/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: #if VAX8600
30: #define MAXNIOA 4
31: #define NIOA8600 2
32: #define IOASIZE 0x2000000
33: #define IOAMAPSIZ 512 /* Map one page to get at SBIA regs */
34: #define IOA8600(i) ((caddr_t)(0x20080000+IOASIZE*i))
35:
36: #ifndef LOCORE
37: struct sbia_regs
38: {
39: int sbi_cfg;
40: int sbi_csr;
41: int sbi_errsum;
42: int sbi_dctl;
43: int sbi_dmaica;
44: int sbi_dmaiid;
45: int sbi_dmaaca;
46: int sbi_dmaaid;
47: int sbi_dmabcs;
48: int sbi_dmabid;
49: int sbi_dmaccs;
50: int sbi_dmacid;
51: int sbi_silo;
52: int sbi_error;
53: int sbi_timo;
54: int sbi_fltsts;
55: int sbi_silcmp;
56: int sbi_maint;
57: int sbi_unjam;
58: int sbi_qclr;
59: int sbi_unused[12];
60: int sbi_iv10;
61: int sbi_iv11;
62: int sbi_iv12;
63: int sbi_iv13;
64: int sbi_iv14;
65: int sbi_iv15;
66: int sbi_iv16;
67: int sbi_iv17;
68: int sbi_iv18;
69: int sbi_iv19;
70: int sbi_iv1a;
71: int sbi_iv1b;
72: int sbi_iv1c;
73: int sbi_iv1d;
74: int sbi_iv1e;
75: };
76: struct ioa {
77: union ioacsr {
78: long ioa_csr;
79: u_char ioa_type;
80: } ioacsr;
81: long ioa_pad[IOAMAPSIZ / sizeof (long) - 1];
82: };
83: #ifdef KERNEL
84: struct ioa ioa[MAXNIOA];
85: #endif KERNEL
86: #endif LOCORE
87:
88: #define IOA_TYPMSK 0xf0
89: #define IOA_SBIA 0x10
90:
91: #endif VAX8600
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.