#ifndef _CORE_WATCHDOGBITS_H_ /**** USED BY LUA *****************************************************************/
#define _CORE_WATCHDOGBITS_H_

/****************************************************************************************************************/

#define WDIOC_GETSUPPORT        0x77D0
#define WDIOC_GETSTATUS         0x77D1
#define WDIOC_GETBOOTSTATUS     0x77D2
#define WDIOC_GETTEMP           0x77D3
#define WDIOC_SETOPTIONS        0x77D4
#define WDIOC_GETOPTIONS        0x77D5
#define WDIOC_KEEPALIVE         0x77D6
#define WDIOC_GETTIMELEFT       0x77D7

#define WDIOF_OVERHEAT          0x0001
#define WDIOF_FANFAULT          0x0002
#define WDIOF_EXTERN1           0x0004
#define WDIOF_EXTERN2           0x0008
#define WDIOF_POWERUNDER        0x0010
#define WDIOF_CARDRESET         0x0020
#define WDIOF_POWEROVER         0x0040
#define WDIOF_SETTIMEOUT        0x0080
#define WDIOF_MAGICCLOSE        0x0100
#define WDIOF_PRETIMEOUT        0x0200
#define WDIOF_KEEPALIVEPING     0x8000

/****************************************************************************************************************/
#endif
