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