From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 22 Oct 2024 10:36:11 +0000 Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM --- kernel/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/kernel/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h b/kernel/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h index 0e1cd99..cba04bf 100644 --- a/kernel/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h +++ b/kernel/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h @@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2014-2015 Hisilicon Limited. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. */ #ifndef __HNS_DSAF_MAIN_H @@ -467,4 +463,6 @@ u8 mac_id, u8 port_num); int hns_dsaf_wait_pkt_clean(struct dsaf_device *dsaf_dev, int port); +int hns_dsaf_roce_reset(struct fwnode_handle *dsaf_fwnode, bool dereset); + #endif /* __HNS_DSAF_MAIN_H__ */ -- Gitblit v1.6.2