diff options
-rw-r--r-- | drivers/char/ipmi/Kconfig | 12 | ||||
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/drivers/char/ipmi/Kconfig b/drivers/char/ipmi/Kconfig index 0baa8fab4ea7..db1c9b7adaa6 100644 --- a/drivers/char/ipmi/Kconfig +++ b/drivers/char/ipmi/Kconfig | |||
@@ -50,6 +50,18 @@ config IPMI_SI | |||
50 | Currently, only KCS and SMIC are supported. If | 50 | Currently, only KCS and SMIC are supported. If |
51 | you are using IPMI, you should probably say "y" here. | 51 | you are using IPMI, you should probably say "y" here. |
52 | 52 | ||
53 | config 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 | |||
53 | config IPMI_WATCHDOG | 65 | config IPMI_WATCHDOG |
54 | tristate 'IPMI Watchdog Timer' | 66 | tristate 'IPMI Watchdog Timer' |
55 | help | 67 | help |
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 9c4069151955..25a1436a4291 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -1239,7 +1239,7 @@ static bool si_tryplatform = 1; | |||
1239 | #ifdef CONFIG_PCI | 1239 | #ifdef CONFIG_PCI |
1240 | static bool si_trypci = 1; | 1240 | static bool si_trypci = 1; |
1241 | #endif | 1241 | #endif |
1242 | static bool si_trydefaults = 1; | 1242 | static bool si_trydefaults = IS_ENABLED(CONFIG_IPMI_SI_PROBE_DEFAULTS); |
1243 | static char *si_type[SI_MAX_PARMS]; | 1243 | static char *si_type[SI_MAX_PARMS]; |
1244 | #define MAX_SI_TYPE_STR 30 | 1244 | #define MAX_SI_TYPE_STR 30 |
1245 | static char si_type_str[MAX_SI_TYPE_STR]; | 1245 | static char si_type_str[MAX_SI_TYPE_STR]; |