Annotation of sys/arch/alpha/tc/tc_3000_300.h, Revision 1.1.1.1
1.1 nbrk 1: /* $OpenBSD: tc_3000_300.h,v 1.5 2002/05/02 22:56:06 miod Exp $ */
2: /* $NetBSD: tc_3000_300.h,v 1.4 1998/10/22 01:03:09 briggs Exp $ */
3:
4: /*
5: * Copyright (c) 1994, 1995 Carnegie-Mellon University.
6: * All rights reserved.
7: *
8: * Author: Chris G. Demetriou
9: *
10: * Permission to use, copy, modify and distribute this software and
11: * its documentation is hereby granted, provided that both the copyright
12: * notice and this permission notice appear in all copies of the
13: * software, derivative works or modified versions, and any portions
14: * thereof, and that both notices appear in supporting documentation.
15: *
16: * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
17: * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
18: * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
19: *
20: * Carnegie Mellon requests users of this software to return to
21: *
22: * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
23: * School of Computer Science
24: * Carnegie Mellon University
25: * Pittsburgh PA 15213-3890
26: *
27: * any improvements or extensions that they make and grant Carnegie the
28: * rights to redistribute these changes.
29: */
30:
31: /*
32: * TurboChannel-specific functions and structures for 3000_500.
33: */
34:
35: /*
36: * TURBOchannel Interface Registers.
37: */
38: #define TC_3000_300_IR KV(0x00000001e0000000) /* Dense */
39: #define TC_3000_300_CSR KV(0x00000001e0000008) /* Dense */
40: #define TC_3000_300_MCR KV(0x00000001e0000010) /* Dense */
41: #define TC_3000_300_LED KV(0x00000001e0000018) /* Dense */
42:
43: /* Interrupt bits. */
44: #define TC_3000_300_IR_CXTURBO 0x00000004 /* TC CXTURBO */
45: #define TC_3000_300_IR_TCDS 0x00000008 /* TC Dual SCSI */
46: #define TC_3000_300_IR_IOASIC 0x00000010 /* TC IOASIC */
47: #define TC_3000_300_IR_BCTAGPARITY 0x08000000 /* BC tag par. err. */
48: #define TC_3000_300_IR_TCOVERRUN 0x10000000 /* TC overrun */
49: #define TC_3000_300_IR_TCTIMEOUT 0x20000000 /* TC timeout on I/O */
50: #define TC_3000_300_IR_BCACHEPARITY 0x40000000 /* Bcache par. err. */
51: #define TC_3000_300_IR_MEMPARITY 0x80000000 /* Memory par. err. */
52:
53: /* Device number "cookies." */
54: #define TC_3000_300_DEV_OPT0 0
55: #define TC_3000_300_DEV_OPT1 1
56: #define TC_3000_300_DEV_TCDS 2
57: #define TC_3000_300_DEV_IOASIC 3
58: #define TC_3000_300_DEV_CXTURBO 4
59:
60: #define TC_3000_300_DEV_BOGUS -1
61:
62: #define TC_3000_300_NCOOKIES 5
63:
64: extern int tc_3000_300_fb_cnattach(u_int64_t);
CVSweb