#ifndef _GENRCIREG_H_
#define _GENRCIREG_H_

#ifdef _KERNEL
#include "rci.h"
#include <sys/poll.h>
#else
#include <sys/rci.h>
#include <sys/poll.h>
#endif

#define GENRCI_OPEN	0x1

typedef struct {
	int flags;

	volatile int beatPeriod;
	volatile int beatTick;
	volatile int alarmTick;
	volatile int tick;
	volatile int tid;
	volatile int tidset;
	volatile RciTimerQueue tq;
	/*volatile*/ struct pollqueue inpq;
} GenrciSoftc;

#endif
