/* $NetBSD: wdogvar.h,v 1.7 2015/09/07 03:49:45 dholland Exp $ */ #ifndef _SH3_WDOGVAR_H_ #define _SH3_WDOGVAR_H_ #include #define WDOGF_OPEN 1 #define SIORESETWDOG _IO('S', 0x0) #define SIOSTARTWDOG _IO('S', 0x1) #define SIOSTOPWDOG _IO('S', 0x2) #define SIOSETWDOG _IOW('S', 0x3, int) #define SIOWDOGSETMODE _IOW('S', 0x4, int) #define WDOGM_RESET 1 #define WDOGM_INTR 2 #ifdef _KERNEL extern unsigned int maxwdog; extern void wdog_wr_cnt(unsigned char); extern void wdog_wr_csr(unsigned char); #endif #endif /* !_SH3_WDOGVAR_H_ */