summaryrefslogtreecommitdiff
path: root/include/linux/ipmi.h
diff options
context:
space:
mode:
authordann frazier <dannf@hp.com>2009-04-21 23:24:05 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-22 00:41:48 +0400
commit4dec302ff71ebf48f5784a2d2fc5e3745e6d4d52 (patch)
treef2c7042168c8e25987c0b0cd55c546078f454089 /include/linux/ipmi.h
parent25176ed670121e1e0aae5c8161713c332b786538 (diff)
downloadlinux-4dec302ff71ebf48f5784a2d2fc5e3745e6d4d52.tar.xz
ipmi: add oem message handling
Enable userspace to receive messages that a BMC transmits using an OEM medium. This is used by the HP iLO2. Based on code originally written by Patrick Schoeller. Signed-off-by: dann frazier <dannf@hp.com> Signed-off-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/ipmi.h')
-rw-r--r--include/linux/ipmi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ipmi.h b/include/linux/ipmi.h
index 7ebdb4fb4e54..65aae34759de 100644
--- a/include/linux/ipmi.h
+++ b/include/linux/ipmi.h
@@ -198,6 +198,8 @@ struct kernel_ipmi_msg {
response. When you send a
response message, this will
be returned. */
+#define IPMI_OEM_RECV_TYPE 5 /* The response for OEM Channels */
+
/* Note that async events and received commands do not have a completion
code as the first byte of the incoming data, unlike a response. */