Home | History | Annotate | Line # | Download | only in include
      1  1.7  dholland /*	$NetBSD: wdogvar.h,v 1.7 2015/09/07 03:49:45 dholland Exp $	*/
      2  1.2   msaitoh 
      3  1.1   msaitoh #ifndef _SH3_WDOGVAR_H_
      4  1.6       uch #define	_SH3_WDOGVAR_H_
      5  1.1   msaitoh 
      6  1.7  dholland #include <sys/ioccom.h>
      7  1.7  dholland 
      8  1.6       uch #define	WDOGF_OPEN	1
      9  1.1   msaitoh 
     10  1.6       uch #define	SIORESETWDOG	_IO('S', 0x0)
     11  1.6       uch #define	SIOSTARTWDOG	_IO('S', 0x1)
     12  1.6       uch #define	SIOSTOPWDOG	_IO('S', 0x2)
     13  1.1   msaitoh #define	SIOSETWDOG	_IOW('S', 0x3, int)
     14  1.6       uch #define	SIOWDOGSETMODE	_IOW('S', 0x4, int)
     15  1.3   msaitoh 
     16  1.6       uch #define	WDOGM_RESET	1
     17  1.6       uch #define	WDOGM_INTR	2
     18  1.1   msaitoh 
     19  1.1   msaitoh #ifdef _KERNEL
     20  1.3   msaitoh extern unsigned int maxwdog;
     21  1.4       uch extern void wdog_wr_cnt(unsigned char);
     22  1.4       uch extern void wdog_wr_csr(unsigned char);
     23  1.1   msaitoh #endif
     24  1.1   msaitoh 
     25  1.1   msaitoh #endif /* !_SH3_WDOGVAR_H_ */
     26