Skip to contentSkip to conversation

drivers/watchdog: build hpwdt as module by default with NMI_DECODING enabled

PATCH New Tony Camuso 1 participant 1 message Feb 4, 2011 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/watchdog: build hpwdt as module by default with NMI_DECODING enabled

DESCRIPTION
===========
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.

TESTING
=======
Was tested for functionality and regression. Was built against i686, x86_64, ppc, ppc64, s390x, and noarch with no problems.

DIFF STAT
=========

 drivers/watchdog/Kconfig |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/watchdog/Kconfig +2 -0
index 7a8a813..df3ca2e 100644
@@ -523,6 +523,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
@@ -533,6 +534,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.