1/* $NetBSD: vmereg.h,v 1.1.38.3 2004/09/21 13:34:15 skrll Exp $ */ 2 3/* constants for address modifiers */ 4 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 */ 11 12#define VME_AM_MBO 8 /* must be set for standard AMs */ 13 14#define VME_AM_PRIVMASK 4 15#define VME_AM_SUPER 4 16#define VME_AM_USER 0 17 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 */ 23 24#if 0 25/* some AMs not yet supported by the framework */ 26 27/* ??? */ 28VME_AM_A24_xxx 0x32 29VME_AM_A32_xxx 0x05 30 31/* VME64 extension */ 32VME_AM_A40 0x34,0x35,0x37 33VME_AM_A64 0x00,0x01,0x03,0x04 34VME_AM_CR_CSR 0x2f /* GEO */ 35 36/* 2eVME extension */ 37VME_AM_2E_6U 0x20 38VME_AM_2E_3U 0x21 39#endif 40