/* SCCS_ID [] = "@(#)selch.h        3.2      15:07:39 - 82/09/10 */

#ifndef LOCALS_INCLUDED
# include <sys/local.h>
#endif

/*
 * Information about a device waiting to use a selector channel
 */

struct selchq {
	int	(*sq_sstart)();		/* startup routine when selch is free */
	int	(*sq_sintr)();		/* selch interrupt routine */
	struct selchq	*sq_forw;	/* next device waiting for channel */
	int     sq_unitno;              /* unit number to be passed to start up routine */
};

/*
 * Selector channel commands
 */
#define	STOP		0x48
#define	GO		0x50
#define	READ_GO		0x70
#define SELCHBSY	0x08
