2000-02-24 20:10:16 +03:00
|
|
|
/* $NetBSD: wdogvar.h,v 1.2 2000/02/24 17:10:16 msaitoh Exp $ */
|
|
|
|
|
2000-02-24 20:07:34 +03:00
|
|
|
#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)
|
|
|
|
|
|
|
|
#ifdef _KERNEL
|
|
|
|
extern void wdog_wr_cnt __P((unsigned char));
|
|
|
|
extern void wdog_wr_csr __P((unsigned char));
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* !_SH3_WDOGVAR_H_ */
|