summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Camuso <tcamuso@redhat.com>2016-06-22 14:22:28 -0400
committerCorey Minyard <cminyard@mvista.com>2016-07-27 10:24:38 -0500
commitb07b58a3e435a3d18004815e8364ec26c4236721 (patch)
treee81e7cc7d7470882da5a220bc86b53ad4e32f94d /include
parent0e06f5c0deeef0332a5da2ecb8f1fcf3e024d958 (diff)
downloadlwn-b07b58a3e435a3d18004815e8364ec26c4236721.tar.gz
lwn-b07b58a3e435a3d18004815e8364ec26c4236721.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ipmi.h b/include/linux/ipmi.h
index 838dbfa3c331..78c5d5ae3857 100644
--- a/include/linux/ipmi.h
+++ b/include/linux/ipmi.h
@@ -277,7 +277,7 @@ int ipmi_validate_addr(struct ipmi_addr *addr, int len);
*/
enum ipmi_addr_src {
SI_INVALID = 0, SI_HOTMOD, SI_HARDCODED, SI_SPMI, SI_ACPI, SI_SMBIOS,
- SI_PCI, SI_DEVICETREE, SI_DEFAULT
+ SI_PCI, SI_DEVICETREE, SI_LAST
};
const char *ipmi_addr_src_to_str(enum ipmi_addr_src src);