summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIwona Winiarska <iwona.winiarska@intel.com>2022-06-06 23:46:20 +0300
committerIwona Winiarska <iwona.winiarska@intel.com>2022-06-09 20:57:41 +0300
commit01b3a074fe4b9e5861cf0e8ed2be8d703bda3cc0 (patch)
tree9d0b44a45ddacee515a10daf5ce8ee4694125c96
parent7dd5541a326cf3bfbdc7dd12d8e74922eb458041 (diff)
downloadlinux-01b3a074fe4b9e5861cf0e8ed2be8d703bda3cc0.tar.xz
soc: aspeed: mctp: Mark GET_EID_INFO/SET_EID_INFO as deprecated
ASPEED_MCTP_GET_EID_INFO and ASPEED_MCTP_SET_EID_INFO shouldn't be used in future projects - they are replaced by EXT_INFO variants. Update documentation for aspeed-mctp UAPI header to mark them as deprecated. Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
-rw-r--r--include/uapi/linux/aspeed-mctp.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/uapi/linux/aspeed-mctp.h b/include/uapi/linux/aspeed-mctp.h
index 678ec3d9f1cc..d1b253bbe171 100644
--- a/include/uapi/linux/aspeed-mctp.h
+++ b/include/uapi/linux/aspeed-mctp.h
@@ -46,10 +46,12 @@
* messages of specified MCTP type or PCI vendor defined type
* @ASPEED_MCTP_IOCTL_UNREGISTER_TYPE_HANDLER Unregister client as handler
* for specified MCTP type or PCI vendor defined message type
- * @ASPEED_MCTP_GET_EID_INFO: read list of existing endpoint mappings
- * returns count which is less of the two requested count and existing count
- * @ASPEED_MCTP_SET_EID_INFO: write list of endpoint mappings
- * overwrites already existing endpoint mappings
+ * @ASPEED_MCTP_GET_EID_INFO - deprecated, use ASPEED_MCTP_GET_EID_EXT instead
+ * @ASPEED_MCTP_SET_EID_INFO - deprecated, use ASPEED_MCTP_SET_EID_EXT instead
+ * @ASPEED_MCTP_GET_EID_EXT_INFO: read list of existing CPU EID and Domain ID
+ * 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
*/
struct aspeed_mctp_filter_eid {
@@ -116,9 +118,9 @@ struct aspeed_mctp_set_eid_info {
#define ASPEED_MCTP_IOCTL_UNREGISTER_TYPE_HANDLER \
_IOW(ASPEED_MCTP_IOCTL_BASE, 7, struct aspeed_mctp_type_handler_ioctl)
#define ASPEED_MCTP_IOCTL_GET_EID_INFO \
- _IOWR(ASPEED_MCTP_IOCTL_BASE, 8, struct aspeed_mctp_get_eid_info)
+ _IOWR(ASPEED_MCTP_IOCTL_BASE, 8, struct aspeed_mctp_get_eid_info) /* deprecated */
#define ASPEED_MCTP_IOCTL_SET_EID_INFO \
- _IOW(ASPEED_MCTP_IOCTL_BASE, 9, struct aspeed_mctp_set_eid_info)
+ _IOW(ASPEED_MCTP_IOCTL_BASE, 9, struct aspeed_mctp_set_eid_info) /* deprecated */
#define ASPEED_MCTP_IOCTL_GET_EID_EXT_INFO \
_IOW(ASPEED_MCTP_IOCTL_BASE, 10, struct aspeed_mctp_get_eid_info)
#define ASPEED_MCTP_IOCTL_SET_EID_EXT_INFO \