/* rcsid[] = "$Header" */
/* sccsid[] = "%W% %Y% %Q% %G%" */

/************************************************************************
*									*
*				Copyright 1985				*
*			VALID LOGIC SYSTEMS INCORPORATED		*
*									*
*	This listing contains confidential proprietary information	*
*	which is not to be disclosed to unauthorized persons without	*
*	written consent of an officer of Valid Logic Systems 		*
*	Incorporated.							*
*									*
*	The copyright notice appearing above is included to provide	*
*	statutory protection in the event of unauthorized or 		*
*	unintentional public disclosure.				*
*									*
************************************************************************/

/*
 * Multibus Slave Transporter Hardware registers
 */

#define MOIOADDR0	0x800		/* base address of unit 0 */
#define MOIOADDR1	0x810		/* base address of unit 1 */

#define MOSKT		0xA0		/* Socket used by Multibus Omninet */

struct moreg {
	char mo_hicounter;		/* 0x0 */
#define mo_xrdy	mo_hicounter
	char	mo_fill0;
	char	mo_staticbuf;		/* 0x2 */
#define mo_strobe	mo_staticbuf
	char	mo_fill1;
	char	mo_locounter;		/* 0x4 */
	char	mo_fill2;
	char	mo_window;		/* 0x6 */
	char	mo_fill3;
	char	mo_intrpend;		/* 0x8 */
	char	mo_fill4;
};

#define MOBUFSIZ	0x4000		/* 16 Kby */

/*
 * Max number of retries for resets
 */
#define MS_MAXRESET_RETRY	6


/*
 * Ioctl's for mo-driver
 */
#define MOIOCINIT		_IOW(_IO_IF, 40, struct ifreq)
#define MOIOCGETADDR		_IOWR(_IO_IF, 41, struct ifreq)
#define MOIOCSTATS		_IOWR(_IO_IF, 42, struct ifreq)
#define MOIOCVERSION		_IOWR(_IO_IF, 43, struct ifreq)
