From: Xue <xuechaojing(a)huawei.com>
commit cebf92178c413f4b6a810099df6e5c5b699bb252 openEuler-1.0
driver inclusion
category:bugfix
bugzilla:4472
CVE:NA
-----------------------------------------------------------------------
This patch deletes the job number in the comment and adds
new file comment.
Signed-off-by: Xue <xuechaojing(a)huawei.com>
Reviewed-by: Yang Yingliang <yangyingliang(a)huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang(a)huawei.com>
Signed-off-by: Xin Hao <haoxing990(a)gmail.com>
---
.../net/ethernet/huawei/hinic/hinic_ctx_def.h | 31 ++++++++-----------
.../net/ethernet/huawei/hinic/hinic_dfx_def.h | 31 ++++++++-----------
.../huawei/hinic/hinic_multi_host_mgmt.h | 14 +++++++++
.../ethernet/huawei/hinic/hinic_port_cmd.h | 14 +++++++++
4 files changed, 54 insertions(+), 36 deletions(-)
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_ctx_def.h
b/drivers/net/ethernet/huawei/hinic/hinic_ctx_def.h
index 71ccb1f17044..4dc759d6e51d 100644
--- a/drivers/net/ethernet/huawei/hinic/hinic_ctx_def.h
+++ b/drivers/net/ethernet/huawei/hinic/hinic_ctx_def.h
@@ -1,22 +1,17 @@
/* SPDX-License-Identifier: GPL-2.0*/
-/******************************************************************************
-
- Copyright (C), 2001-2011, Huawei Tech. Co., Ltd.
-
- ******************************************************************************
- File Name : hinic_ctx_def.h
- Version : Initial Draft
- Author : Qu Huichun
- Created : 2018/5/31
- Last Modified :
- Description : Commands between NIC and uP
- Function List :
- History :
- 1.Date : 2018/5/31
- Author : Qu Huichun
- Modification: Created file
-
-******************************************************************************/
+/* Huawei HiNIC PCI Express Linux driver
+ * Copyright(c) 2017 Huawei Technologies Co., Ltd
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ */
#ifndef __HINIC_CTX_DEF_H__
#define __HINIC_CTX_DEF_H__
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_dfx_def.h
b/drivers/net/ethernet/huawei/hinic/hinic_dfx_def.h
index cb5fe472eb20..dcad813d216b 100644
--- a/drivers/net/ethernet/huawei/hinic/hinic_dfx_def.h
+++ b/drivers/net/ethernet/huawei/hinic/hinic_dfx_def.h
@@ -1,22 +1,17 @@
/* SPDX-License-Identifier: GPL-2.0*/
-/******************************************************************************
-
- Copyright (C), 2001-2011, Huawei Tech. Co., Ltd.
-
- ******************************************************************************
- File Name : hinic_dfx_def.h
- Version : Initial Draft
- Author : Qu Huichun
- Created : 2018/6/1
- Last Modified :
- Description : Commands between NIC and uP
- Function List :
- History :
- 1.Date : 2018/6/1
- Author : Qu Huichun
- Modification: Created file
-
-******************************************************************************/
+/* Huawei HiNIC PCI Express Linux driver
+ * Copyright(c) 2017 Huawei Technologies Co., Ltd
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ */
#ifndef __HINIC_DFX_DEF_H__
#define __HINIC_DFX_DEF_H__
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.h
b/drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.h
index 35715017734d..f35b2a1f7989 100644
--- a/drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.h
+++ b/drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.h
@@ -1,4 +1,18 @@
/* SPDX-License-Identifier: GPL-2.0*/
+/* Huawei HiNIC PCI Express Linux driver
+ * Copyright(c) 2017 Huawei Technologies Co., Ltd
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ */
+
#ifndef __HINIC_MULTI_HOST_MGMT_H_
#define __HINIC_MULTI_HOST_MGMT_H_
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_port_cmd.h
b/drivers/net/ethernet/huawei/hinic/hinic_port_cmd.h
index 47428103fab7..57c5eafa2fb2 100644
--- a/drivers/net/ethernet/huawei/hinic/hinic_port_cmd.h
+++ b/drivers/net/ethernet/huawei/hinic/hinic_port_cmd.h
@@ -1,4 +1,18 @@
/* SPDX-License-Identifier: GPL-2.0*/
+/* Huawei HiNIC PCI Express Linux driver
+ * Copyright(c) 2017 Huawei Technologies Co., Ltd
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ */
+
#ifndef __HINIC_PORT_CMD_H__
#define __HINIC_PORT_CMD_H__
--
2.31.0