Commit 4724ba57 authored by Randy Dunlap's avatar Randy Dunlap Committed by Wim Van Sebroeck

watchdog: update/improve/consolidate watchdog driver

Move the limited watchdog driver help from kernel-parameters.txt
to Documentation/watchdog/watchdog-parameters.txt and add info to it
for all watchdog drivers except the ones that have driver-specific
files already.

Correct minor comments and MODULE_PARM_DESC() text in 2 places.
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 8b18085a
...@@ -290,9 +290,6 @@ and is between 256 and 4096 characters. It is defined in the file ...@@ -290,9 +290,6 @@ and is between 256 and 4096 characters. It is defined in the file
advansys= [HW,SCSI] advansys= [HW,SCSI]
See header of drivers/scsi/advansys.c. See header of drivers/scsi/advansys.c.
advwdt= [HW,WDT] Advantech WDT
Format: <iostart>,<iostop>
aedsp16= [HW,OSS] Audio Excel DSP 16 aedsp16= [HW,OSS] Audio Excel DSP 16
Format: <io>,<irq>,<dma>,<mss_io>,<mpu_io>,<mpu_irq> Format: <io>,<irq>,<dma>,<mss_io>,<mpu_io>,<mpu_irq>
See also header of sound/oss/aedsp16.c. See also header of sound/oss/aedsp16.c.
...@@ -765,9 +762,6 @@ and is between 256 and 4096 characters. It is defined in the file ...@@ -765,9 +762,6 @@ and is between 256 and 4096 characters. It is defined in the file
This option is obsoleted by the "netdev=" option, which This option is obsoleted by the "netdev=" option, which
has equivalent usage. See its documentation for details. has equivalent usage. See its documentation for details.
eurwdt= [HW,WDT] Eurotech CPU-1220/1410 onboard watchdog.
Format: <io>[,<irq>]
failslab= failslab=
fail_page_alloc= fail_page_alloc=
fail_make_request=[KNL] fail_make_request=[KNL]
...@@ -2267,9 +2261,6 @@ and is between 256 and 4096 characters. It is defined in the file ...@@ -2267,9 +2261,6 @@ and is between 256 and 4096 characters. It is defined in the file
sched_debug [KNL] Enables verbose scheduler debug messages. sched_debug [KNL] Enables verbose scheduler debug messages.
sc1200wdt= [HW,WDT] SC1200 WDT (watchdog) driver
Format: <io>[,<timeout>[,<isapnp>]]
scsi_debug_*= [SCSI] scsi_debug_*= [SCSI]
See drivers/scsi/scsi_debug.c. See drivers/scsi/scsi_debug.c.
...@@ -2858,8 +2849,10 @@ and is between 256 and 4096 characters. It is defined in the file ...@@ -2858,8 +2849,10 @@ and is between 256 and 4096 characters. It is defined in the file
wd7000= [HW,SCSI] wd7000= [HW,SCSI]
See header of drivers/scsi/wd7000.c. See header of drivers/scsi/wd7000.c.
wdt= [WDT] Watchdog watchdog timers [HW,WDT] For information on watchdog timers,
See Documentation/watchdog/wdt.txt. see Documentation/watchdog/watchdog-parameters.txt
or other driver-specific files in the
Documentation/watchdog/ directory.
x2apic_phys [X86-64,APIC] Use x2apic physical mode instead of x2apic_phys [X86-64,APIC] Use x2apic physical mode instead of
default x2apic cluster mode on platforms default x2apic cluster mode on platforms
......
00-INDEX 00-INDEX
- this file. - this file.
hpwdt.txt
- information on the HP iLO2 NMI watchdog
pcwd-watchdog.txt pcwd-watchdog.txt
- documentation for Berkshire Products PC Watchdog ISA cards. - documentation for Berkshire Products PC Watchdog ISA cards.
src/ src/
- directory holding watchdog related example programs. - directory holding watchdog related example programs.
watchdog-api.txt watchdog-api.txt
- description of the Linux Watchdog driver API. - description of the Linux Watchdog driver API.
watchdog-parameters.txt
- information on driver parameters (for drivers other than
the ones that have driver-specific files here)
wdt.txt wdt.txt
- description of the Watchdog Timer Interfaces for Linux. - description of the Watchdog Timer Interfaces for Linux.
This diff is collapsed.
...@@ -14,14 +14,22 @@ reboot will depend on the state of the machines and interrupts. The hardware ...@@ -14,14 +14,22 @@ reboot will depend on the state of the machines and interrupts. The hardware
boards physically pull the machine down off their own onboard timers and boards physically pull the machine down off their own onboard timers and
will reboot from almost anything. will reboot from almost anything.
A second temperature monitoring interface is available on the WDT501P cards A second temperature monitoring interface is available on the WDT501P cards.
This provides /dev/temperature. This is the machine internal temperature in This provides /dev/temperature. This is the machine internal temperature in
degrees Fahrenheit. Each read returns a single byte giving the temperature. degrees Fahrenheit. Each read returns a single byte giving the temperature.
The third interface logs kernel messages on additional alert events. The third interface logs kernel messages on additional alert events.
The wdt card cannot be safely probed for. Instead you need to pass The ICS ISA-bus wdt card cannot be safely probed for. Instead you need to
wdt=ioaddr,irq as a boot parameter - eg "wdt=0x240,11". pass IO address and IRQ boot parameters. E.g.:
wdt.io=0x240 wdt.irq=11
Other "wdt" driver parameters are:
heartbeat Watchdog heartbeat in seconds (default 60)
nowayout Watchdog cannot be stopped once started (kernel
build parameter)
tachometer WDT501-P Fan Tachometer support (0=disable, default=0)
type WDT501-P Card type (500 or 501, default=500)
Features Features
-------- --------
...@@ -40,4 +48,3 @@ Minor numbers are however allocated for it. ...@@ -40,4 +48,3 @@ Minor numbers are however allocated for it.
Example Watchdog Driver: see Documentation/watchdog/src/watchdog-simple.c Example Watchdog Driver: see Documentation/watchdog/src/watchdog-simple.c
...@@ -68,7 +68,6 @@ static spinlock_t eurwdt_lock; ...@@ -68,7 +68,6 @@ static spinlock_t eurwdt_lock;
/* /*
* You must set these - there is no sane way to probe for this board. * You must set these - there is no sane way to probe for this board.
* You can use eurwdt=x,y to set these now.
*/ */
static int io = 0x3f0; static int io = 0x3f0;
......
...@@ -91,7 +91,7 @@ MODULE_PARM_DESC(tachometer, ...@@ -91,7 +91,7 @@ MODULE_PARM_DESC(tachometer,
static int type = 500; static int type = 500;
module_param(type, int, 0); module_param(type, int, 0);
MODULE_PARM_DESC(type, MODULE_PARM_DESC(type,
"WDT501-P Card type (500 or 501 , default=500)"); "WDT501-P Card type (500 or 501, default=500)");
/* /*
* Programming support * Programming support
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment