From: Tony Camuso Date: Fri, 4 Feb 2011 22:38:59 +0000 (-0500) Subject: watchdog: hpwdt: build hpwdt as module by default with NMI_DECODING enabled X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a4616153deae053b29a2b7dd9ec4b2a225accfc5;p=mv-sheeva.git watchdog: hpwdt: build hpwdt as module by default with NMI_DECODING enabled Builds the hpwdt driver as a module by default. If the hardware is present, the module will be loaded. Also, if hpwdt is loaded, it will decode NMIs by default. This has been made possible by he patches to hpwdt made by Dann Frazier as well as related patches submitted by Don Zickus. hpwdt only loads on hp ProLiant x86 32-bit and 64-bit platforms. Signed-off-by: Tony Camuso Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 3dde7f0871a..322b36a9c0e 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -591,6 +591,7 @@ config IT87_WDT config HP_WATCHDOG tristate "HP ProLiant iLO2+ Hardware Watchdog Timer" depends on X86 + default m help A software monitoring watchdog and NMI sourcing driver. This driver will detect lockups and provide a stack trace. This is a driver that @@ -601,6 +602,7 @@ config HP_WATCHDOG config HPWDT_NMI_DECODING bool "NMI decoding support for the HP ProLiant iLO2+ Hardware Watchdog Timer" depends on HP_WATCHDOG + default y help When an NMI occurs this feature will make the necessary BIOS calls to log the cause of the NMI.