ipmi: add a KCS IPMI BMC driver
Provides a device driver for the KCS (Keyboard Controller Style) IPMI interface which meets the requirement of the BMC (Baseboard Management Controllers) side for handling the IPMI request from host system software. Signed-off-by: Haiyue Wang <haiyue.wang@linux.intel.com> [Removed the selectability of IPMI_KCS_BMC, as it doesn't do much good to have it by itself.] Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:

committed by
Corey Minyard

parent
e1171aca7d
commit
20d60f61c5
14
include/uapi/linux/ipmi_bmc.h
Normal file
14
include/uapi/linux/ipmi_bmc.h
Normal file
@@ -0,0 +1,14 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
// Copyright (c) 2015-2018, Intel Corporation.
|
||||
|
||||
#ifndef _UAPI_LINUX_IPMI_BMC_H
|
||||
#define _UAPI_LINUX_IPMI_BMC_H
|
||||
|
||||
#include <linux/ioctl.h>
|
||||
|
||||
#define __IPMI_BMC_IOCTL_MAGIC 0xB1
|
||||
#define IPMI_BMC_IOCTL_SET_SMS_ATN _IO(__IPMI_BMC_IOCTL_MAGIC, 0x00)
|
||||
#define IPMI_BMC_IOCTL_CLEAR_SMS_ATN _IO(__IPMI_BMC_IOCTL_MAGIC, 0x01)
|
||||
#define IPMI_BMC_IOCTL_FORCE_ABORT _IO(__IPMI_BMC_IOCTL_MAGIC, 0x02)
|
||||
|
||||
#endif /* _UAPI_LINUX_KCS_BMC_H */
|
Reference in New Issue
Block a user