xref: /openbmc/linux/drivers/char/ipmi/Kconfig (revision 384740dc)
1#
2# IPMI device configuration
3#
4
5menuconfig IPMI_HANDLER
6       tristate 'IPMI top-level message handler'
7       depends on HAS_IOMEM
8       help
9         This enables the central IPMI message handler, required for IPMI
10	 to work.
11
12         IPMI is a standard for managing sensors (temperature,
13         voltage, etc.) in a system.
14
15         See <file:Documentation/IPMI.txt> for more details on the driver.
16
17	 If unsure, say N.
18
19if IPMI_HANDLER
20
21config IPMI_PANIC_EVENT
22       bool 'Generate a panic event to all BMCs on a panic'
23       help
24         When a panic occurs, this will cause the IPMI message handler to
25	 generate an IPMI event describing the panic to each interface
26	 registered with the message handler.
27
28config IPMI_PANIC_STRING
29	bool 'Generate OEM events containing the panic string'
30	depends on IPMI_PANIC_EVENT
31	help
32	  When a panic occurs, this will cause the IPMI message handler to
33	  generate IPMI OEM type f0 events holding the IPMB address of the
34	  panic generator (byte 4 of the event), a sequence number for the
35	  string (byte 5 of the event) and part of the string (the rest of the
36	  event).  Bytes 1, 2, and 3 are the normal usage for an OEM event.
37	  You can fetch these events and use the sequence numbers to piece the
38	  string together.
39
40config IPMI_DEVICE_INTERFACE
41       tristate 'Device interface for IPMI'
42       help
43         This provides an IOCTL interface to the IPMI message handler so
44	 userland processes may use IPMI.  It supports poll() and select().
45
46config IPMI_SI
47       tristate 'IPMI System Interface handler'
48       help
49         Provides a driver for System Interfaces (KCS, SMIC, BT).
50	 Currently, only KCS and SMIC are supported.  If
51	 you are using IPMI, you should probably say "y" here.
52
53config IPMI_WATCHDOG
54       tristate 'IPMI Watchdog Timer'
55       help
56         This enables the IPMI watchdog timer.
57
58config IPMI_POWEROFF
59       tristate 'IPMI Poweroff'
60       help
61         This enables a function to power off the system with IPMI if
62	 the IPMI management controller is capable of this.
63
64endif # IPMI_HANDLER
65