Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / sh3 / include / wdogvar.h
blob47fc3cc46ae06c3ec0976375bac3a82a4e08a995
1 /* $NetBSD: wdogvar.h,v 1.5 2002/03/17 17:55:25 uch Exp $ */
3 #ifndef _SH3_WDOGVAR_H_
4 #define _SH3_WDOGVAR_H_
6 #define WDOGF_OPEN 1
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)
14 #define WDOGM_RESET 1
15 #define WDOGM_INTR 2
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
23 #endif /* !_SH3_WDOGVAR_H_ */