Update of /cvsroot/linux-mips/linux/drivers/char
In directory usw-pr-cvs1:/tmp/cvs-serv15325
Modified Files:
vr41xxwdt.c
Log Message:
Sanity checks for 4122/4131
Index: vr41xxwdt.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/drivers/char/vr41xxwdt.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- vr41xxwdt.c 2001/10/28 03:49:14 1.2
+++ vr41xxwdt.c 2001/10/30 17:53:17 1.3
@@ -29,6 +29,8 @@
#ifndef CONFIG_CPU_VR41XX
#error "Can't use VR41xx watchdog on non-VR41xx processor."
+#elif defined(CONFIG_VR4122) || defined(CONFIG_VR4131)
+ #error "Can't use VR41xx watchdog on processors without a DSU."
#endif
#define DSUMINOVRFLW 0x01 /* DSU Min Overflow Interval */
|