forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/net/ethernet/huawei/hinic/hinic_hw_csr.h
....@@ -1,16 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Huawei HiNIC PCI Express Linux driver
34 * Copyright(c) 2017 Huawei Technologies Co., Ltd
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms and conditions of the GNU General Public License,
7
- * version 2, as published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope it will be useful, but WITHOUT
10
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
- * for more details.
13
- *
145 */
156
167 #ifndef HINIC_HW_CSR_H
....@@ -19,7 +10,7 @@
1910 /* HW interface registers */
2011 #define HINIC_CSR_FUNC_ATTR0_ADDR 0x0
2112 #define HINIC_CSR_FUNC_ATTR1_ADDR 0x4
22
-
13
+#define HINIC_CSR_FUNC_ATTR2_ADDR 0x8
2314 #define HINIC_CSR_FUNC_ATTR4_ADDR 0x10
2415 #define HINIC_CSR_FUNC_ATTR5_ADDR 0x14
2516