]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: remove trydefaults parameter and default init
authorTony Camuso <tcamuso@redhat.com>
Wed, 22 Jun 2016 18:22:28 +0000 (14:22 -0400)
committerCorey Minyard <cminyard@mvista.com>
Wed, 27 Jul 2016 15:24:38 +0000 (10:24 -0500)
commit9ea724dcf17953588be485608df84d37aafa8c27
treee81e7cc7d7470882da5a220bc86b53ad4e32f94d
parent3210fab31223d50c14679f68fbaa85fda216c52d
ipmi: remove trydefaults parameter and default init

Parameter trydefaults=1 causes the ipmi_init to initialize ipmi through
the legacy port io space that was designated for ipmi. Architectures
that do not map legacy port io can panic when trydefaults=1.

Rather than implement build-time conditional exceptions for each
architecture that does not map legacy port io, we have removed legacy
port io from the driver.

Parameter 'trydefaults' has been removed. Attempts to use it hereafter
will evoke the "Unknown symbol in module, or unknown parameter" message.

The patch was built against a number of architectures and tested for
regressions and functionality on x86_64 and ARM64.

Signed-off-by: Tony Camuso <tcamuso@redhat.com>
Removed the config entry and the address source entry for default,
since neither were used any more.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/Kconfig
drivers/char/ipmi/ipmi_msghandler.c
drivers/char/ipmi/ipmi_si_intf.c
include/linux/ipmi.h