Home | History | Annotate | Line # | Download | only in include
wdogvar.h revision 1.4
      1 /* $NetBSD: wdogvar.h,v 1.4 2002/02/12 15:26:48 uch Exp $ */
      2 
      3 #ifndef _SH3_WDOGVAR_H_
      4 #define _SH3_WDOGVAR_H_
      5 
      6 #define WDOGF_OPEN	1
      7 
      8 #define SIORESETWDOG	_IO('S', 0x0)
      9 #define SIOSTARTWDOG	_IO('S', 0x1)
     10 #define SIOSTOPWDOG	_IO('S', 0x2)
     11 #define	SIOSETWDOG	_IOW('S', 0x3, int)
     12 #define SIOWDOGSETMODE	_IOW('S', 0x4, int)
     13 
     14 #define WDOGM_RESET	1
     15 #define WDOGM_INTR	2
     16 
     17 #ifdef _KERNEL
     18 extern unsigned int maxwdog;
     19 extern void wdog_wr_cnt(unsigned char);
     20 extern void wdog_wr_csr(unsigned char);
     21 #endif
     22 
     23 #endif /* !_SH3_WDOGVAR_H_ */
     24