已合并
【PR】: drv delete adapt #2502
vaceciliachen创建于 5月29日
【PR】: drv delete adapt #2502
已合并
vaceciliachen创建于 5月29日
1 个文件变更+0-22
@@ -2282,14 +2282,6 @@ struct dsmi_eid_pair_info {
2282 unsigned int resv : 31;2282 unsigned int resv : 31;
2283};2283};
2284 2284 
2285-struct dsmi_device_attr {
2286- int phy_dev_id;
2287- unsigned int eid_num;
2288- struct dsmi_eid_pair_info eid_pair[DSMI_MAX_EID_PAIR_NUM];
2289- enum dsmi_urma_eid_type type;
2290- unsigned int reserve;
2291-};
2292- 
2293/* CC: confidential computing, crypto: cryptology */2285/* CC: confidential computing, crypto: cryptology */
2294enum dsmi_cc_mode_type {2286enum dsmi_cc_mode_type {
2295 DSMI_CC_MODE_OFF = 0,2287 DSMI_CC_MODE_OFF = 0,
@@ -3722,20 +3714,6 @@ DLLEXPORT int dsmi_set_detect_info(unsigned int device_id, DSMI_DETECT_MAIN_CMD
3722DLLEXPORT int dsmi_get_detect_info(unsigned int device_id, DSMI_DETECT_MAIN_CMD main_cmd,3714DLLEXPORT int dsmi_get_detect_info(unsigned int device_id, DSMI_DETECT_MAIN_CMD main_cmd,
3723 unsigned int sub_cmd, void *buf, unsigned int *buf_size);3715 unsigned int sub_cmd, void *buf, unsigned int *buf_size);
3724 3716 
3725-/**
3726-* @ingroup driver
3727-* @brief Replace a faulty device with the backup device.
3728-* @attention NULL
3729-* @param [in] src_dev_attr Attribute of the faulty device
3730-* @param [in] dst_dev_attr Attribute of the backup device
3731-* @param [in] timeout Setting of timeout duration, [1S, 120S]
3732-* @param [in] flag Reserve para
3733-* @return 0 for success, others for fail
3734-* @note Support:,Ascend950,Ascend910_55
3735-*/
3736-DLLEXPORT int dsmi_device_replace(struct dsmi_device_attr *src_dev_attr, struct dsmi_device_attr *dst_dev_attr,
3737- unsigned int timeout, unsigned long long flag);
3738- 
3739/**3717/**
3740* @ingroup driver3718* @ingroup driver
3741* @brief Querying the platform info (Host or Device).3719* @brief Querying the platform info (Host or Device).