xref: /linux/drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c (revision ab93e0dd72c37d378dd936f031ffb83ff2bd87ce)
1*17fcb3dcSFan Gong // SPDX-License-Identifier: GPL-2.0
2*17fcb3dcSFan Gong // Copyright (c) Huawei Technologies Co., Ltd. 2025. All rights reserved.
3*17fcb3dcSFan Gong 
4*17fcb3dcSFan Gong #include <linux/dma-mapping.h>
5*17fcb3dcSFan Gong 
6*17fcb3dcSFan Gong #include "hinic3_common.h"
7*17fcb3dcSFan Gong #include "hinic3_hwdev.h"
8*17fcb3dcSFan Gong #include "hinic3_hwif.h"
9*17fcb3dcSFan Gong #include "hinic3_mbox.h"
10*17fcb3dcSFan Gong 
11*17fcb3dcSFan Gong int hinic3_send_mbox_to_mgmt(struct hinic3_hwdev *hwdev, u8 mod, u16 cmd,
12*17fcb3dcSFan Gong 			     const struct mgmt_msg_params *msg_params)
13*17fcb3dcSFan Gong {
14*17fcb3dcSFan Gong 	/* Completed by later submission due to LoC limit. */
15*17fcb3dcSFan Gong 	return -EFAULT;
16*17fcb3dcSFan Gong }
17