xref: /openbmc/linux/drivers/char/ipmi/Kconfig (revision f3a8b664)
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_SSIF
54       tristate 'IPMI SMBus handler (SSIF)'
55       select I2C
56       help
57         Provides a driver for a SMBus interface to a BMC, meaning that you
58	 have a driver that must be accessed over an I2C bus instead of a
59	 standard interface.  This module requires I2C support.
60
61config IPMI_POWERNV
62       depends on PPC_POWERNV
63       tristate 'POWERNV (OPAL firmware) IPMI interface'
64       help
65         Provides a driver for OPAL firmware-based IPMI interfaces.
66
67config IPMI_WATCHDOG
68       tristate 'IPMI Watchdog Timer'
69       help
70         This enables the IPMI watchdog timer.
71
72config IPMI_POWEROFF
73       tristate 'IPMI Poweroff'
74       help
75         This enables a function to power off the system with IPMI if
76	 the IPMI management controller is capable of this.
77
78endif # IPMI_HANDLER
79
80config ASPEED_BT_IPMI_BMC
81	depends on ARCH_ASPEED
82	tristate "BT IPMI bmc driver"
83	help
84	  Provides a driver for the BT (Block Transfer) IPMI interface
85	  found on Aspeed SOCs (AST2400 and AST2500). The driver
86	  implements the BMC side of the BT interface.
87