summaryrefslogtreecommitdiff
path: root/include/uapi/linux/aspeed-mctp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/aspeed-mctp.h')
-rw-r--r--include/uapi/linux/aspeed-mctp.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/uapi/linux/aspeed-mctp.h b/include/uapi/linux/aspeed-mctp.h
index d1b253bbe171..ec3a6a0c1357 100644
--- a/include/uapi/linux/aspeed-mctp.h
+++ b/include/uapi/linux/aspeed-mctp.h
@@ -52,6 +52,7 @@
* mappings and return count which is lesser of the two: requested count and existing count
* @ASPEED_MCTP_SET_EID_EXT_INFO: write or overwrite already existing list of
* CPU EID and Domain ID mappings
+ * @ASPEED_MCTP_SET_OWN_EID: write/overwrite own EID information
*/
struct aspeed_mctp_filter_eid {
@@ -101,6 +102,10 @@ struct aspeed_mctp_set_eid_info {
__u16 count;
};
+struct aspeed_mctp_set_own_eid {
+ __u8 eid;
+};
+
#define ASPEED_MCTP_IOCTL_BASE 0x4d
#define ASPEED_MCTP_IOCTL_FILTER_EID \
@@ -125,6 +130,7 @@ struct aspeed_mctp_set_eid_info {
_IOW(ASPEED_MCTP_IOCTL_BASE, 10, struct aspeed_mctp_get_eid_info)
#define ASPEED_MCTP_IOCTL_SET_EID_EXT_INFO \
_IOW(ASPEED_MCTP_IOCTL_BASE, 11, struct aspeed_mctp_set_eid_info)
-
+#define ASPEED_MCTP_IOCTL_SET_OWN_EID \
+ _IOW(ASPEED_MCTP_IOCTL_BASE, 12, struct aspeed_mctp_set_own_eid)
#endif /* _UAPI_LINUX_ASPEED_MCTP_H */