patch-pre2.0.7 linux/drivers/char/wd501p.h

Next file: linux/drivers/isdn/icn/icn.c
Previous file: linux/drivers/char/fbmem.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.6/linux/drivers/char/wd501p.h linux/drivers/char/wd501p.h
@@ -58,15 +58,13 @@
 #define FEATUREMAP2		0
 #endif
 
+#ifndef CONFIG_WDT_501
+#define CONFIG_WDT_500
+#endif
 
-#ifdef CONFIG_WDT500		/* Minimal board */
+#ifdef CONFIG_WDT_500		/* Minimal board */
 #define FEATUREMAP1		(WDC_SR_TGOOD|WDC_SR_FANGOOD)
 #define FEATUREMAP2		(WDC_SR_PSUOVER|WDC_SR_PSUUNDR)
-#endif
-
-#ifdef CONFIG_SOFT_WATCHDOG
-#define FEATUREMAP1            0
-#define FEATUREMAP2            0
 #endif
 
 #ifndef FEATUREMAP1

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this