Browse Source

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 <tcamuso@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Tony Camuso 14 years ago
parent
commit
a4616153de
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/watchdog/Kconfig

+ 2 - 0
drivers/watchdog/Kconfig

@@ -591,6 +591,7 @@ config IT87_WDT
 config HP_WATCHDOG
 config HP_WATCHDOG
 	tristate "HP ProLiant iLO2+ Hardware Watchdog Timer"
 	tristate "HP ProLiant iLO2+ Hardware Watchdog Timer"
 	depends on X86
 	depends on X86
+	default m
 	help
 	help
 	  A software monitoring watchdog and NMI sourcing driver. This driver
 	  A software monitoring watchdog and NMI sourcing driver. This driver
 	  will detect lockups and provide a stack trace. This is a driver that
 	  will detect lockups and provide a stack trace. This is a driver that
@@ -601,6 +602,7 @@ config HP_WATCHDOG
 config HPWDT_NMI_DECODING
 config HPWDT_NMI_DECODING
 	bool "NMI decoding support for the HP ProLiant iLO2+ Hardware Watchdog Timer"
 	bool "NMI decoding support for the HP ProLiant iLO2+ Hardware Watchdog Timer"
 	depends on HP_WATCHDOG
 	depends on HP_WATCHDOG
+	default y
 	help
 	help
 	  When an NMI occurs this feature will make the necessary BIOS calls to
 	  When an NMI occurs this feature will make the necessary BIOS calls to
 	  log the cause of the NMI.
 	  log the cause of the NMI.