From b1689a13951fee5a3e045bc5c6d71afaa5d16622 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Tue, 2 Apr 2002 19:23:17 -0800 Subject: [PATCH] watchdog nowayout for i810-tco Originally from Matt Domsch. Adds a nowayout module option to override CONFIG_WATCHDOG_NOWAYOUT From 2.4 --- drivers/char/i810-tco.c | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/drivers/char/i810-tco.c b/drivers/char/i810-tco.c index 90c8e4878f5b..5b20720551c2 100644 --- a/drivers/char/i810-tco.c +++ b/drivers/char/i810-tco.c @@ -1,5 +1,5 @@ /* - * i810-tco 0.02: TCO timer driver for i810 chipsets + * i810-tco 0.03: TCO timer driver for i810 chipsets * * (c) Copyright 2000 kernel concepts , All Rights Reserved. * http://www.kernelconcepts.de @@ -28,6 +28,9 @@ * Initial Version 0.01 * 20000728 Nils Faerber * 0.02 Fix for SMI_EN->TCO_EN bit, some cleanups + * 20011214 Matt Domsch + * 0.03 Added nowayout module option to override CONFIG_WATCHDOG_NOWAYOUT + * Didn't add timeout option as i810_margin already exists. */ #include @@ -60,6 +63,18 @@ static spinlock_t tco_lock; /* Guards the hardware */ static int i810_margin = TIMER_MARGIN; /* steps of 0.6sec */ MODULE_PARM (i810_margin, "i"); +MODULE_PARM_DESC(i810_margin, "Watchdog timeout in steps of 0.6sec, 2