aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/Kconfig
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2009-06-19 05:32:57 -0400
committerWim Van Sebroeck <wim@iguana.be>2009-06-23 03:13:52 -0400
commit9b901ee0cb007eb4e2ee056e5b1c5c2837d53bdb (patch)
tree2b074545b0625c13c104b08fe2735e513f8ee2ff /drivers/watchdog/Kconfig
parent44df75353bc8f32e26e049284053a61d4f1047d6 (diff)
[WATCHDOG] wdt_pci.c: remove #ifdef CONFIG_WDT_501_PCI
Change the wdt_pci.c watchdog driver so that the code is the same for both the PCI-WDT500 as the PCI-WDT501 card. The selection of the card is now being done via the module parameter: 'type' instead of the config option CONFIG_WDT_501_PCI. Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r--drivers/watchdog/Kconfig18
1 files changed, 5 insertions, 13 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index e8d45b6ccef8..b1ccc04f3c9a 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -1007,24 +1007,16 @@ config WDTPCI
1007 ---help--- 1007 ---help---
1008 If you have a PCI-WDT500/501 watchdog board, say Y here, otherwise N. 1008 If you have a PCI-WDT500/501 watchdog board, say Y here, otherwise N.
1009 1009
1010 To compile this driver as a module, choose M here: the 1010 If you have a PCI-WDT501 watchdog board then you can enable the
1011 module will be called wdt_pci. 1011 temperature sensor by setting the type parameter to 501.
1012
1013config WDT_501_PCI
1014 bool "PCI-WDT501 features"
1015 depends on WDTPCI
1016 help
1017 Saying Y here and creating a character special file /dev/temperature
1018 with major number 10 and minor number 131 ("man mknod") will give
1019 you a thermometer inside your computer: reading from
1020 /dev/temperature yields one byte, the temperature in degrees
1021 Fahrenheit. This works only if you have a PCI-WDT501 watchdog board
1022 installed.
1023 1012
1024 If you want to enable the Fan Tachometer on the PCI-WDT501, then you 1013 If you want to enable the Fan Tachometer on the PCI-WDT501, then you
1025 can do this via the tachometer parameter. Only do this if you have a 1014 can do this via the tachometer parameter. Only do this if you have a
1026 fan tachometer actually set up. 1015 fan tachometer actually set up.
1027 1016
1017 To compile this driver as a module, choose M here: the
1018 module will be called wdt_pci.
1019
1028# 1020#
1029# USB-based Watchdog Cards 1021# USB-based Watchdog Cards
1030# 1022#