/* Ported to GNU C openVMS/Alpha by Klaus Kämpf, kkaempf@progis.de  */
/* <xadef.h>
 *
 *	DR11-W definitions for device specific characteristics
 */
#ifndef _XADEF_H
#define _XADEF_H

#ifdef __cplusplus
extern "C" {
#endif

#define XA$V_DATAPATH	0
#define XA$V_LINK	1
#define XA$M_DATAPATH	(1<<XA$V_DATAPATH)	/* 0x01 */
#define XA$M_LINK	(1<<XA$V_LINK)		/* 0x02 */
union xadef {
    struct {
	unsigned char xa$v_datapath : 1;	/* use buffered datapath */
	unsigned char xa$v_link     : 1;	/* interprocessor link mode */
	unsigned char		    : 6;
    } xa$r_xadef_bits;
#define xa$v_datapath xa$r_xadef_bits.xa$v_datapath
#define xa$v_link xa$r_xadef_bits.xa$v_link
} __attribute__ ((packed));

#ifdef __cplusplus
  }
#endif

#endif	/*_XADEF_H*/
