No empty .Rs/.Re
[netbsd-mini2440.git] / sys / dev / vme / vmereg.h
blob1ca7772d169155f39822df8221403ba85171ccb7
1 /* $NetBSD: vmereg.h,v 1.1.38.3 2004/09/21 13:34:15 skrll Exp $ */
3 /* constants for address modifiers */
5 #define VME_AM_ADRSIZEMASK 0x30
6 #define VME_AM_ADRSIZESHIFT 4
7 #define VME_AM_A32 0
8 #define VME_AM_A16 0x20
9 #define VME_AM_A24 0x30
10 #define VME_AM_USERDEF 0x10 /* user/vendor definable */
12 #define VME_AM_MBO 8 /* must be set for standard AMs */
14 #define VME_AM_PRIVMASK 4
15 #define VME_AM_SUPER 4
16 #define VME_AM_USER 0
18 #define VME_AM_MODEMASK 3
19 #define VME_AM_DATA 1
20 #define VME_AM_PRG 2 /* only with A32, A24 */
21 #define VME_AM_BLT32 3 /* only with A32, A24 */
22 #define VME_AM_BLT64 0 /* new, only with A32, A24 */
24 #if 0
25 /* some AMs not yet supported by the framework */
27 /* ??? */
28 VME_AM_A24_xxx 0x32
29 VME_AM_A32_xxx 0x05
31 /* VME64 extension */
32 VME_AM_A40 0x34,0x35,0x37
33 VME_AM_A64 0x00,0x01,0x03,0x04
34 VME_AM_CR_CSR 0x2f /* GEO */
36 /* 2eVME extension */
37 VME_AM_2E_6U 0x20
38 VME_AM_2E_3U 0x21
39 #endif