[PATCH 1/1] drivers/watchdog: build hpwdt as module by default withNMI_DECODING enabled

From: Tony Camuso
Date: Fri Feb 04 2011 - 17:39:43 EST


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(-)

Signed-off-by: Tony Camuso <tcamuso@xxxxxxxxxx>

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 7a8a813..df3ca2e 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/