Home | History | Annotate | Line # | Download | only in include
wdogvar.h revision 1.2
      1 /* $NetBSD: wdogvar.h,v 1.2 2000/02/24 17:10:16 msaitoh 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 
     13 #ifdef _KERNEL
     14 extern void wdog_wr_cnt __P((unsigned char));
     15 extern void wdog_wr_csr __P((unsigned char));
     16 #endif
     17 
     18 #endif /* !_SH3_WDOGVAR_H_ */
     19