Commit 5fb18d9b authored by Wim Van Sebroeck's avatar Wim Van Sebroeck Committed by Linus Torvalds

[WATCHDOG] v2.6.2 watchdog-Kconfig-patch

Cleanup/Restructuring of drivers/char/watchdog/Kconfig
parent 2523e5b6
...@@ -38,6 +38,15 @@ config WATCHDOG_NOWAYOUT ...@@ -38,6 +38,15 @@ config WATCHDOG_NOWAYOUT
get killed. If you say Y here, the watchdog cannot be stopped once get killed. If you say Y here, the watchdog cannot be stopped once
it has been started. it has been started.
#
# General Watchdog drivers
#
comment "Watchdog Device Drivers"
depends on WATCHDOG
# Architecture Independant
config SOFT_WATCHDOG config SOFT_WATCHDOG
tristate "Software watchdog" tristate "Software watchdog"
depends on WATCHDOG depends on WATCHDOG
...@@ -49,88 +58,53 @@ config SOFT_WATCHDOG ...@@ -49,88 +58,53 @@ config SOFT_WATCHDOG
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called softdog. module will be called softdog.
config WDT # ARM Architecture
tristate "WDT Watchdog timer"
depends on WATCHDOG && ISA
---help---
If you have a WDT500P or WDT501P watchdog board, say Y here,
otherwise N. It is not possible to probe for this board, which means
that you have to inform the kernel about the IO port and IRQ using
the "wdt=" kernel option (try "man bootparam" or see the
documentation of your boot loader (lilo or loadlin) about how to
pass options to the kernel at boot time).
To compile this driver as a module, choose M here: the
module will be called wdt.
config WDT_501 config 21285_WATCHDOG
bool "WDT501 features" tristate "DC21285 watchdog"
depends on WDT depends on WATCHDOG && FOOTBRIDGE
help
Saying Y here and creating a character special file /dev/temperature
with major number 10 and minor number 131 ("man mknod") will give
you a thermometer inside your computer: reading from
/dev/temperature yields one byte, the temperature in degrees
Fahrenheit. This works only if you have a WDT501P watchdog board
installed.
config WDT_501_FAN
bool "Fan Tachometer"
depends on WDT_501
help help
Enable the Fan Tachometer on the WDT501. Only do this if you have a The Intel Footbridge chip contains a builtin watchdog circuit. Say Y
fan tachometer actually set up. here if you wish to use this. Alternatively say M to compile the
driver as a module, which will be called wdt285.
config WDTPCI This driver does not work on all machines. In particular, early CATS
tristate "WDT PCI Watchdog timer" boards have hardware problems that will cause the machine to simply
depends on WATCHDOG && PCI lock up if the watchdog fires.
---help---
If you have a PCI WDT500/501 watchdog board, say Y here, otherwise
N. It is not possible to probe for this board, which means that you
have to inform the kernel about the IO port and IRQ using the "wdt="
kernel option (try "man bootparam" or see the documentation of your
boot loader (lilo or loadlin) about how to pass options to the
kernel at boot time).
To compile this driver as a module, choose M here: the "If in doubt, leave it out" - say N.
module will be called wdt_pci.
config WDT_501_PCI config 977_WATCHDOG
bool "WDT501-PCI features" tristate "NetWinder WB83C977 watchdog"
depends on WDTPCI depends on WATCHDOG && FOOTBRIDGE && ARCH_NETWINDER
help help
Saying Y here and creating a character special file /dev/temperature Say Y here to include support for the WB977 watchdog included in
with major number 10 and minor number 131 ("man mknod") will give NetWinder machines. Alternatively say M to compile the driver as
you a thermometer inside your computer: reading from a module, which will be called wdt977.
/dev/temperature yields one byte, the temperature in degrees
Fahrenheit. This works only if you have a WDT501P watchdog board
installed.
config PCWATCHDOG Not sure? It's safe to say N.
tristate "Berkshire Products PC Watchdog"
depends on WATCHDOG && ISA config SA1100_WATCHDOG
---help--- tristate "SA1100 watchdog"
This is the driver for the Berkshire Products PC Watchdog card. depends on WATCHDOG && ARCH_SA1100
This card simply watches your kernel to make sure it doesn't freeze, help
and if it does, it reboots your computer after a certain amount of Watchdog timer embedded into SA11x0 chips. This will reboot your
time. This driver is like the WDT501 driver but for different system when timeout is reached.
hardware. Please read <file:Documentation/watchdog/pcwd-watchdog.txt>. The PC NOTE, that once enabled, this timer cannot be disabled.
watchdog cards can be ordered from <http://www.berkprod.com/>.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called pcwd. module will be called sa1100_wdt.
Most people will say N. # X86 (i386 + ia64 + x86_64) Architecture
config ACQUIRE_WDT config ACQUIRE_WDT
tristate "Acquire SBC Watchdog Timer" tristate "Acquire SBC Watchdog Timer"
depends on WATCHDOG && X86 depends on WATCHDOG && X86
---help--- ---help---
This is the driver for the hardware watchdog on the PSC-6x86 Single This is the driver for the hardware watchdog on Single Board
Board Computer produced by Acquire Inc (and others). This watchdog Computers produced by Acquire Inc (and others). This watchdog
simply watches your kernel to make sure it doesn't freeze, and if simply watches your kernel to make sure it doesn't freeze, and if
it does, it reboots your computer after a certain amount of time. it does, it reboots your computer after a certain amount of time.
This driver is like the WDT501 driver but for different hardware.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called acquirewdt. module will be called acquirewdt.
...@@ -143,42 +117,57 @@ config ADVANTECH_WDT ...@@ -143,42 +117,57 @@ config ADVANTECH_WDT
help help
If you are configuring a Linux kernel for the Advantech single-board If you are configuring a Linux kernel for the Advantech single-board
computer, say `Y' here to support its built-in watchdog timer computer, say `Y' here to support its built-in watchdog timer
feature. See the help for CONFIG_WATCHDOG for discussion. feature. More information can be found at
<http://www.advantech.com.tw/products/>
config 21285_WATCHDOG config ALIM1535_WDT
tristate "DC21285 watchdog" tristate "ALi M1535 PMU Watchdog Timer"
depends on WATCHDOG && FOOTBRIDGE depends on WATCHDOG && X86 && PCI
---help---
This is the driver for the hardware watchdog on the ALi M1535 PMU.
To compile this driver as a module, choose M here: the
module will be called alim1535_wdt.
Most people will say N.
config ALIM7101_WDT
tristate "ALi M7101 PMU Computer Watchdog"
depends on WATCHDOG && X86 && PCI
help help
The Intel Footbridge chip contains a builtin watchdog circuit. Say Y This is the driver for the hardware watchdog on the ALi M7101 PMU
here if you wish to use this. Alternatively say M to compile the as used in the x86 Cobalt servers.
driver as a module, which will be called wdt285.
This driver does not work on all machines. In particular, early CATS To compile this driver as a module, choose M here: the
boards have hardware problems that will cause the machine to simply module will be called alim7101_wdt.
lock up if the watchdog fires.
"If in doubt, leave it out" - say N. Most people will say N.
config 977_WATCHDOG config AMD7XX_TCO
tristate "NetWinder WB83C977 watchdog" tristate "AMD 766/768 TCO Timer/Watchdog"
depends on WATCHDOG && FOOTBRIDGE && ARCH_NETWINDER depends on WATCHDOG && X86 && PCI
help help
Say Y here to include support for the WB977 watchdog included in This is the driver for the hardware watchdog built in to the
NetWinder machines. Alternatively say M to compile the driver as AMD 766/768 chipsets.
a module, which will be called wdt977. This watchdog simply watches your kernel to make sure it doesn't
freeze, and if it does, it reboots your computer after a certain
amount of time.
Not sure? It's safe to say N. You can compile this driver directly into the kernel, or use
it as a module. The module will be called amd7xx_tco.
config SA1100_WATCHDOG config SC520_WDT
tristate "SA1100 watchdog" tristate "AMD Elan SC520 processor Watchdog"
depends on WATCHDOG && ARCH_SA1100 depends on WATCHDOG && X86
help help
Watchdog timer embedded into SA11x0 chips. This will reboot your This is the driver for the hardware watchdog built in to the
system when timeout is reached. AMD "Elan" SC520 microcomputer commonly used in embedded systems.
NOTE, that once enabled, this timer cannot be disabled. This watchdog simply watches your kernel to make sure it doesn't
freeze, and if it does, it reboots your computer after a certain
amount of time.
To compile this driver as a module, choose M here: the You can compile this driver directly into the kernel, or use
module will be called sa1100_wdt. it as a module. The module will be called sc520_wdt.
config EUROTECH_WDT config EUROTECH_WDT
tristate "Eurotech CPU-1220/1410 Watchdog Timer" tristate "Eurotech CPU-1220/1410 Watchdog Timer"
...@@ -204,8 +193,18 @@ config IB700_WDT ...@@ -204,8 +193,18 @@ config IB700_WDT
Most people will say N. Most people will say N.
config WAFER_WDT
tristate "ICP Wafer 5823 Single Board Computer Watchdog"
depends on WATCHDOG && X86
help
This is a driver for the hardware watchdog on the ICP Wafer 5823
Single Board Computer (and probably other similar models).
To compile this driver as a module, choose M here: the
module will be called wafer5823wdt.
config I8XX_TCO config I8XX_TCO
tristate "Intel i8xx TCO timer / Watchdog" tristate "Intel i8xx TCO Timer/Watchdog"
depends on WATCHDOG && (X86 || IA64) && PCI depends on WATCHDOG && (X86 || IA64) && PCI
---help--- ---help---
Hardware driver for the TCO timer built into the Intel 82801 Hardware driver for the TCO timer built into the Intel 82801
...@@ -222,25 +221,25 @@ config I8XX_TCO ...@@ -222,25 +221,25 @@ config I8XX_TCO
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called i8xx_tco. module will be called i8xx_tco.
config MIXCOMWD config SC1200_WDT
tristate "Mixcom Watchdog" tristate "National Semiconductor PC87307/PC97307 (ala SC1200) Watchdog"
depends on WATCHDOG && ISA depends on WATCHDOG && X86
---help--- help
This is a driver for the Mixcom hardware watchdog cards. This This is a driver for National Semiconductor PC87307/PC97307 hardware
watchdog simply watches your kernel to make sure it doesn't freeze, watchdog cards as found on the SC1200. This watchdog is mainly used
and if it does, it reboots your computer after a certain amount of for power management purposes and can be used to power down the device
time. during inactivity periods (includes interrupt activity monitoring).
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called mixcomwd. module will be called sc1200wdt.
Most people will say N. Most people will say N.
config SCx200_WDT config SCx200_WDT
tristate "NatSemi SCx200 Watchdog" tristate "National Semiconductor SCx200 Watchdog"
depends on WATCHDOG && X86 depends on WATCHDOG && X86 && PCI
help help
Enable the built-in watchdog timer support on the National Enable the built-in watchdog timer support on the National
Semiconductor SCx200 processors. Semiconductor SCx200 processors.
If compiled as a module, it will be called scx200_watchdog. If compiled as a module, it will be called scx200_watchdog.
...@@ -259,20 +258,13 @@ config 60XX_WDT ...@@ -259,20 +258,13 @@ config 60XX_WDT
You can compile this driver directly into the kernel, or use You can compile this driver directly into the kernel, or use
it as a module. The module will be called sbc60xxwdt. it as a module. The module will be called sbc60xxwdt.
config W83877F_WDT config CPU5_WDT
tristate "W83877F (EMACS) Watchdog Timer" tristate "SMA CPU5 Watchdog"
depends on WATCHDOG && X86 depends on WATCHDOG && X86
---help--- ---help---
This is the driver for the hardware watchdog on the W83877F chipset TBD.
as used in EMACS PC-104 motherboards (and likely others). This
watchdog simply watches your kernel to make sure it doesn't freeze,
and if it does, it reboots your computer after a certain amount of
time.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called w83877f_wdt. module will be called cpu5wdt.
Most people will say N.
config W83627HF_WDT config W83627HF_WDT
tristate "W83627HF Watchdog Timer" tristate "W83627HF Watchdog Timer"
...@@ -289,6 +281,21 @@ config W83627HF_WDT ...@@ -289,6 +281,21 @@ config W83627HF_WDT
Most people will say N. Most people will say N.
config W83877F_WDT
tristate "W83877F (EMACS) Watchdog Timer"
depends on WATCHDOG && X86
---help---
This is the driver for the hardware watchdog on the W83877F chipset
as used in EMACS PC-104 motherboards (and likely others). This
watchdog simply watches your kernel to make sure it doesn't freeze,
and if it does, it reboots your computer after a certain amount of
time.
To compile this driver as a module, choose M here: the
module will be called w83877f_wdt.
Most people will say N.
config MACHZ_WDT config MACHZ_WDT
tristate "ZF MachZ Watchdog" tristate "ZF MachZ Watchdog"
depends on WATCHDOG && X86 depends on WATCHDOG && X86
...@@ -302,102 +309,124 @@ config MACHZ_WDT ...@@ -302,102 +309,124 @@ config MACHZ_WDT
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called machzwd. module will be called machzwd.
config SC520_WDT # SUPERH Architecture
tristate "AMD Elan SC520 processor Watchdog"
depends on WATCHDOG && X86
help
This is the driver for the hardware watchdog built in to the
AMD "Elan" SC520 microcomputer commonly used in embedded systems.
This watchdog simply watches your kernel to make sure it doesn't
freeze, and if it does, it reboots your computer after a certain
amount of time.
You can compile this driver directly into the kernel, or use
it as a module. The module will be called sc520_wdt.
config AMD7XX_TCO config SH_WDT
tristate "AMD 766/768 TCO Timer/Watchdog" tristate "SuperH Watchdog"
depends on WATCHDOG && X86 depends on WATCHDOG && SUPERH
help help
This is the driver for the hardware watchdog built in to the This driver adds watchdog support for the integrated watchdog in the
AMD 766/768 chipsets. SuperH processors. If you have one of these processors and wish
This watchdog simply watches your kernel to make sure it doesn't to have watchdog support enabled, say Y, otherwise say N.
freeze, and if it does, it reboots your computer after a certain
amount of time.
You can compile this driver directly into the kernel, or use
it as a module. The module will be called amd7xx_tco.
config ALIM7101_WDT As a side note, saying Y here will automatically boost HZ to 1000
tristate "ALi M7101 PMU Computer Watchdog" so that the timer has a chance to clear the overflow counter. On
depends on WATCHDOG && X86 slower systems (such as the SH-2 and SH-3) this will likely yield
help some performance issues. As such, the WDT should be avoided here
This is the driver for the hardware watchdog on the ALi M7101 PMU unless it is absolutely necessary.
as used in the x86 Cobalt servers.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called alim7101_wdt. module will be called shwdt.
Most people will say N. #
# ISA-based Watchdog Cards
#
config ALIM1535_WDT comment "ISA-based Watchdog Cards"
tristate "ALi M1535 PMU Watchdog Timer" depends on WATCHDOG && ISA
depends on WATCHDOG && X86 && PCI
config PCWATCHDOG
tristate "Berkshire Products ISA-PC Watchdog"
depends on WATCHDOG && ISA
---help--- ---help---
This is the driver for the hardware watchdog on the ALi M1535 PMU. This is the driver for the Berkshire Products PC Watchdog card.
This card simply watches your kernel to make sure it doesn't freeze,
and if it does, it reboots your computer after a certain amount of
time. This driver is like the WDT501 driver but for different
hardware. Please read <file:Documentation/watchdog/pcwd-watchdog.txt>. The PC
watchdog cards can be ordered from <http://www.berkprod.com/>.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called alim1535_wdt. module will be called pcwd.
Most people will say N. Most people will say N.
config SC1200_WDT config MIXCOMWD
tristate "National Semiconductor PC87307/PC97307 (ala SC1200) Watchdog" tristate "Mixcom Watchdog"
depends on WATCHDOG && X86 depends on WATCHDOG && ISA
help ---help---
This is a driver for National Semiconductor PC87307/PC97307 hardware This is a driver for the Mixcom hardware watchdog cards. This
watchdog cards as found on the SC1200. This watchdog is mainly used watchdog simply watches your kernel to make sure it doesn't freeze,
for power management purposes and can be used to power down the device and if it does, it reboots your computer after a certain amount of
during inactivity periods (includes interrupt activity monitoring). time.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called sc1200wdt. module will be called mixcomwd.
Most people will say N. Most people will say N.
config WAFER_WDT config WDT
tristate "ICP Wafer 5823 Single Board Computer Watchdog" tristate "WDT Watchdog timer"
depends on WATCHDOG && X86 depends on WATCHDOG && ISA
help ---help---
This is a driver for the hardware watchdog on the ICP Wafer 5823 If you have a WDT500P or WDT501P watchdog board, say Y here,
Single Board Computer (and probably other similar models). otherwise N. It is not possible to probe for this board, which means
that you have to inform the kernel about the IO port and IRQ using
the "wdt=" kernel option (try "man bootparam" or see the
documentation of your boot loader (lilo or loadlin) about how to
pass options to the kernel at boot time).
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called wafer5823wdt. module will be called wdt.
config CPU5_WDT config WDT_501
tristate "SMA CPU5 Watchdog" bool "WDT501 features"
depends on WATCHDOG && X86 depends on WDT
---help--- help
TBD. Saying Y here and creating a character special file /dev/temperature
To compile this driver as a module, choose M here: the with major number 10 and minor number 131 ("man mknod") will give
module will be called cpu5wdt. you a thermometer inside your computer: reading from
/dev/temperature yields one byte, the temperature in degrees
Fahrenheit. This works only if you have a WDT501P watchdog board
installed.
config SH_WDT config WDT_501_FAN
tristate "SuperH Watchdog" bool "Fan Tachometer"
depends on WATCHDOG && SUPERH depends on WDT_501
help help
This driver adds watchdog support for the integrated watchdog in the Enable the Fan Tachometer on the WDT501. Only do this if you have a
SuperH processors. If you have one of these processors and wish fan tachometer actually set up.
to have watchdog support enabled, say Y, otherwise say N.
As a side note, saying Y here will automatically boost HZ to 1000 #
so that the timer has a chance to clear the overflow counter. On # PCI-based Watchdog Cards
slower systems (such as the SH-2 and SH-3) this will likely yield #
some performance issues. As such, the WDT should be avoided here
unless it is absolutely necessary. comment "PCI-based Watchdog Cards"
depends on WATCHDOG && PCI
config WDTPCI
tristate "WDT PCI Watchdog timer"
depends on WATCHDOG && PCI
---help---
If you have a PCI WDT500/501 watchdog board, say Y here, otherwise
N. It is not possible to probe for this board, which means that you
have to inform the kernel about the IO port and IRQ using the "wdt="
kernel option (try "man bootparam" or see the documentation of your
boot loader (lilo or loadlin) about how to pass options to the
kernel at boot time).
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called shwdt. module will be called wdt_pci.
config WDT_501_PCI
bool "WDT501-PCI features"
depends on WDTPCI
help
Saying Y here and creating a character special file /dev/temperature
with major number 10 and minor number 131 ("man mknod") will give
you a thermometer inside your computer: reading from
/dev/temperature yields one byte, the temperature in degrees
Fahrenheit. This works only if you have a WDT501P watchdog board
installed.
endmenu endmenu
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