summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2021-05-28 13:08:38 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2021-05-28 13:08:38 +0000
commit5886ad9cda43433a1d06c7c8d153ad491c669411 (patch)
tree4014ce2d20fe82f2b61d1d020288d51e40a55c51 /sys
parentfcd3255e1367d9a7e7195e4667dd2d13cf4152e2 (diff)
Schedule timeout a little bit sooner. Doing this once every minute isn't
going to hurt, but might save you if you run the machine badly into swap. Proposed by kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fdt/imxdog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/imxdog.c b/sys/dev/fdt/imxdog.c
index 82f4a1267e2..73ca0200bb8 100644
--- a/sys/dev/fdt/imxdog.c
+++ b/sys/dev/fdt/imxdog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxdog.c,v 1.2 2021/05/28 13:03:55 patrick Exp $ */
+/* $OpenBSD: imxdog.c,v 1.3 2021/05/28 13:08:37 patrick Exp $ */
/*
* Copyright (c) 2012-2013,2021 Patrick Wildt <patrick@blueri.se>
*
@@ -38,7 +38,7 @@ extern void (*cpuresetfn)(void);
#define WICR 0x06
#define WMCR 0x08
-#define WDOG_TIMEOUT_CALLBACK 120
+#define WDOG_TIMEOUT_CALLBACK 60
#define WDOG_MAX_TIMEOUT_SEC 128
struct imxdog_softc {