patch-2.1.15 linux/drivers/char/wd501p.h

Next file: linux/drivers/char/wdt.c
Previous file: linux/drivers/char/vga.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.14/linux/drivers/char/wd501p.h linux/drivers/char/wd501p.h
@@ -51,8 +51,10 @@
 
 #ifdef CONFIG_WDT501_FAN	/* Full board, Fan has no tachometer */
 #define FEATUREMAP1		0
+#define WDT_OPTION_MASK		(WDIOF_OVERHEAT|WDIOF_POWERUNDER|WDIOF_POWEROVER|WDIOF_EXTERN1|WDIOF_EXTERN2|WDIOF_FANFAULT)
 #else
 #define FEATUREMAP1		WDC_SR_FANGOOD
+#define WDT_OPTION_MASK		(WDIOF_OVERHEAT|WDIOF_POWERUNDER|WDIOF_POWEROVER|WDIOF_EXTERN1|WDIOF_EXTERN2)
 #endif
 
 #define FEATUREMAP2		0
@@ -65,6 +67,7 @@
 #ifdef CONFIG_WDT_500		/* Minimal board */
 #define FEATUREMAP1		(WDC_SR_TGOOD|WDC_SR_FANGOOD)
 #define FEATUREMAP2		(WDC_SR_PSUOVER|WDC_SR_PSUUNDR)
+#define WDT_OPTION_MASK		(WDIOF_OVERHEAT)
 #endif
 
 #ifndef FEATUREMAP1

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov