xref: /openbmc/linux/drivers/char/ipmi/Kconfig (revision 8684014d)
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_SI_PROBE_DEFAULTS
54       bool 'Probe for all possible IPMI system interfaces by default'
55       default n
56       depends on IPMI_SI
57       help
58	 Modern systems will usually expose IPMI interfaces via a discoverable
59	 firmware mechanism such as ACPI or DMI. Older systems do not, and so
60	 the driver is forced to probe hardware manually. This may cause boot
61	 delays. Say "n" here to disable this manual probing. IPMI will then
62	 only be available on older systems if the "ipmi_si_intf.trydefaults=1"
63	 boot argument is passed.
64
65config IPMI_SSIF
66       tristate 'IPMI SMBus handler (SSIF)'
67       select I2C
68       help
69         Provides a driver for a SMBus interface to a BMC, meaning that you
70	 have a driver that must be accessed over an I2C bus instead of a
71	 standard interface.  This module requires I2C support.
72
73config IPMI_POWERNV
74       depends on PPC_POWERNV
75       tristate 'POWERNV (OPAL firmware) IPMI interface'
76       help
77         Provides a driver for OPAL firmware-based IPMI interfaces.
78
79config IPMI_WATCHDOG
80       tristate 'IPMI Watchdog Timer'
81       help
82         This enables the IPMI watchdog timer.
83
84config IPMI_POWEROFF
85       tristate 'IPMI Poweroff'
86       help
87         This enables a function to power off the system with IPMI if
88	 the IPMI management controller is capable of this.
89
90endif # IPMI_HANDLER
91