24 lines
526 B
C
24 lines
526 B
C
/* $NetBSD: wdogvar.h,v 1.6 2002/04/28 17:10:37 uch Exp $ */
|
|
|
|
#ifndef _SH3_WDOGVAR_H_
|
|
#define _SH3_WDOGVAR_H_
|
|
|
|
#define WDOGF_OPEN 1
|
|
|
|
#define SIORESETWDOG _IO('S', 0x0)
|
|
#define SIOSTARTWDOG _IO('S', 0x1)
|
|
#define SIOSTOPWDOG _IO('S', 0x2)
|
|
#define SIOSETWDOG _IOW('S', 0x3, int)
|
|
#define SIOWDOGSETMODE _IOW('S', 0x4, int)
|
|
|
|
#define WDOGM_RESET 1
|
|
#define WDOGM_INTR 2
|
|
|
|
#ifdef _KERNEL
|
|
extern unsigned int maxwdog;
|
|
extern void wdog_wr_cnt(unsigned char);
|
|
extern void wdog_wr_csr(unsigned char);
|
|
#endif
|
|
|
|
#endif /* !_SH3_WDOGVAR_H_ */
|